Skip to content

Commit 8345980

Browse files
authored
Update test_quadratic.py
For an unknown reason, the test was 3D for a long time, but it should have been 2D
1 parent 4261717 commit 8345980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_quadratic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ def test_mod(temp_examples_dir: PosixPath):
4141
finally:
4242
os.chdir(old)
4343

44-
np.testing.assert_array_almost_equal(state, [0.5, 0.5, 0.5], decimal=1)
44+
np.testing.assert_array_almost_equal(state, [0.5, 0.5], decimal=1)
4545
np.testing.assert_array_almost_equal(obj, [0.0], decimal=0)

0 commit comments

Comments
 (0)