Skip to content

Commit

Permalink
Update test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Oceanusity authored Feb 9, 2024
1 parent 8ba868b commit 5066c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenDFT/QHBench/QH9/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def main(conf):


def post_processing(batch, default_type):
for key in batch.keys:
for key in batch.keys():
if torch.is_floating_point(batch[key]):
batch[key] = batch[key].type(default_type)
return batch
Expand Down

0 comments on commit 5066c9c

Please sign in to comment.