Skip to content

Commit

Permalink
fix new type errors after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
bartandrews committed Oct 25, 2024
1 parent 7a16ac1 commit 01b9645
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/python/variational/uccsd_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ def test_parameters_roundtrip():
np.testing.assert_allclose(roundtripped.t2, operator.t2)
if with_final_orbital_rotation:
np.testing.assert_allclose(
roundtripped.final_orbital_rotation, operator.final_orbital_rotation
np.asarray(roundtripped.final_orbital_rotation),
np.asarray(operator.final_orbital_rotation),
)


Expand Down

0 comments on commit 01b9645

Please sign in to comment.