Skip to content

Commit 5066c9c

Browse files
authored
Update test.py
1 parent 8ba868b commit 5066c9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OpenDFT/QHBench/QH9/test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def main(conf):
218218

219219

220220
def post_processing(batch, default_type):
221-
for key in batch.keys:
221+
for key in batch.keys():
222222
if torch.is_floating_point(batch[key]):
223223
batch[key] = batch[key].type(default_type)
224224
return batch

0 commit comments

Comments
 (0)