Skip to content

Commit

Permalink
Fix failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
awkwardPotato812 committed Mar 15, 2023
1 parent cfa381d commit e701ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qutip/tests/core/test_coefficient.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def test_CoeffFromScipy():
from_scipy = coefficient(interp.make_interp_spline(tlist, y, k=3))
_assert_eq_over_interval(coeff, from_scipy, rtol=1e-8, inside=True)

coeff = coefficient(y, tlist=tlist, order=3, bc_type="natural")
coeff = coefficient(y, tlist=tlist, order=3, boundary_conditions="natural")
from_scipy = coefficient(interp.make_interp_spline(tlist, y, k=3, bc_type="natural"))
_assert_eq_over_interval(coeff, from_scipy, rtol=1e-8, inside=True)

Expand Down

0 comments on commit e701ecc

Please sign in to comment.