Skip to content

Commit

Permalink
Fix set_value() call in Python test (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
calcmogul authored Jul 4, 2024
1 parent 5e60fe9 commit 9d0b509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jormungandr/test/optimization/trivial_problem_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_no_cost_unconstrained_2():
problem = OptimizationProblem()

X = problem.decision_variable(2, 3)
X.set_value([[1.0, 1.0, 1.0], [1.0, 1.0, 1.0]])
X.set_value(np.array([[1.0, 1.0, 1.0], [1.0, 1.0, 1.0]]))

status = problem.solve(diagnostics=True)

Expand Down

0 comments on commit 9d0b509

Please sign in to comment.