Skip to content

Commit

Permalink
Fix type error.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes committed Sep 11, 2024
1 parent 0a28358 commit b2b2f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_linprog.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_lin_prog_type() -> None:
for x in xs:
assert isinstance(x, float)
assert x == 0.0
assert lp.solve(solver=cdd.LPSolverType.CRISS_CROSS) is None
lp.solve(solver=cdd.LPSolverType.CRISS_CROSS)
assert_almost_equal(lp.obj_value, 1.5)
assert_vector_almost_equal(lp.primal_solution, [0.5])

Expand Down

0 comments on commit b2b2f5f

Please sign in to comment.