Skip to content

Commit 4610342

Browse files
authored
minor bug fixed for DeePKS bandgap test (#1869)
1 parent 9419ba9 commit 4610342

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import numpy
22
a=numpy.load('o_tot.npy')
33
b=numpy.load('o_base.npy')
4-
print((a-b)[0])
4+
print((a-b)[0][0])
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import numpy
22
a=numpy.load('o_tot.npy')
33
b=numpy.load('o_base.npy')
4-
print((a-b)[0])
4+
print((a-b)[0][0])

0 commit comments

Comments
 (0)