Skip to content

Commit fd481f5

Browse files
committed
correct function name
1 parent 9c45c7a commit fd481f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_matrix_variable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def test_matrix_sum_argument():
169169

170170
# compare the result of summing 2d array to a scaler with a scaler
171171
x = m.addMatrixVar((2, 3), "x", "I", ub=4)
172-
m.addMatrixCons(x.sum() == 24)
172+
m.addCons(x.sum() == 24)
173173
# to fix the element values
174174
m.addMatrixCons(x == np.full((2, 3), 4))
175175

0 commit comments

Comments
 (0)