Skip to content

Commit 61081f6

Browse files
committed
correct multiorbital tests
1 parent 5e6df1d commit 61081f6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

test/python/dimer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
'h_int': h_int,
9595
'hartree_shift': [0.0, -0.1, 0.1, 0.0],
9696
'n_warmup_cycles': 5000,
97-
'n_cycles': 100000,
97+
'n_cycles': 10000,
9898
'length_cycle': 100,
9999
}
100100
S.solve(**solve_params)

test/python/dimer.ref.h5

3.62 KB
Binary file not shown.

test/python/multiorb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@
7373
A['G_tau'] = S.results.G_tau
7474

7575
# --------- Compare to reference ----------
76-
h5diff("dimer.out.h5", "dimer.ref.h5", precision=1e-9)
76+
h5diff("multiorb.out.h5", "multiorb.ref.h5", precision=1e-9)

test/python/two_orbitals.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
# Save output
5454
if mpi.is_master_node():
55-
with HDFArchive("two_orbitals_4b.out.h5") as A:
55+
with HDFArchive("two_orbitals_4b.out.h5", "a") as A:
5656
A['nn_tau'] = S.results.nn_tau
5757
A['nn'] = S.results.nn_static
5858
A['densities'] = S.results.densities
@@ -90,7 +90,7 @@
9090

9191
# Save output
9292
if mpi.is_master_node():
93-
with HDFArchive("two_orbitals_2b.out.h5") as A:
93+
with HDFArchive("two_orbitals_2b.out.h5", "a") as A:
9494
A['nn_tau'] = S.results.nn_tau
9595
A['nn'] = S.results.nn_static
9696
A['densities'] = S.results.densities

0 commit comments

Comments
 (0)