Skip to content

Commit 4351466

Browse files
authored
Update vol_det.py
1 parent 10ceeed commit 4351466

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

SVP_CVP/vol_det.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#Miscellaneous script
2+
#Check whether the determinant of an open base of a lattice is equal to its orignial base
13
import numpy as np
24
import GA
35

@@ -8,5 +10,5 @@
810

911
if np.linalg.det(original_base) == np.linalg.det(open_base):
1012
print("True")
11-
12-
13+
else:
14+
print("False")

0 commit comments

Comments
 (0)