Skip to content

Commit 4e5b5d6

Browse files
committed
Slightly fixed
1 parent 2797125 commit 4e5b5d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
-9 Bytes
Binary file not shown.

Calculation/function/func_band_calc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ def calcBand_1d(s=1, Nsite=2*10, Nband=10, Wannier_calc=False, angle=np.pi):
3434
E[i_q][i] = rearrangedEvalsVecs[i][0]
3535
P[:, i] = rearrangedEvalsVecs[i][1]
3636

37-
if Wannier_calc == True:
37+
if Wannier_calc:
3838
for k in range(Nsite):
3939
for l in range(Nsite):
4040
C[k, i_q, l] = P[l, k]
4141

4242
Energy = E.T
4343

44-
if Wannier_calc == True:
44+
if Wannier_calc:
4545
x0 = 0
4646
x = np.linspace(-1, 1, 151)
4747
Wannier = np.zeros([len(x), Nsite], dtype=np.complex)

0 commit comments

Comments
 (0)