Skip to content

Commit

Permalink
Fix dimer test
Browse files Browse the repository at this point in the history
  • Loading branch information
ddahlbom committed Sep 24, 2024
1 parent 26b16d6 commit 4d9a86c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_entangled_units.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ end
# Test external field works as expected
set_field!(esys, [0, 0, 1])
onsite_operator = esys.sys.interactions_union[1].onsite
field_offset = -2*(Sl[3] + Su[3]) # 2 for g-factor
field_offset = 2*(Sl[3] + Su[3]) # 2 for g-factor
@test onsite_operator onsite_ref + field_offset

# Test inter-bond exchange
Expand Down

0 comments on commit 4d9a86c

Please sign in to comment.