Skip to content

Commit

Permalink
match Julia Hand ED
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyang-ustc committed May 29, 2024
1 parent 66fee84 commit fe93a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def main(input_file):
input_file = "/home/yangqi/jaxgfpeps/data/default.h5"
tensor = main(input_file)

with h5py.File("tensor.h5", "cw") as fid:
with h5py.File("tensor.h5", "w") as fid:
fid.create_dataset("/tensor", data=tensor) # order: ulfdr

# fac = 0.396379-0.918087j # coefficient to match the original code

0 comments on commit fe93a85

Please sign in to comment.