Skip to content

Commit c9fafb4

Browse files
authored
Update test_nonlinear.py
Fixing assert failure if scip is compiled using quadprecision
1 parent 07b8151 commit c9fafb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_nonlinear.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def test_gastrans():
261261
if scip.getStatus() == 'timelimit':
262262
pytest.skip()
263263

264-
assert abs(scip.getPrimalbound() - 89.08584) < 1.0e-9
264+
assert abs(scip.getPrimalbound() - 89.08584) < 1.0e-6
265265

266266
def test_quad_coeffs():
267267
"""test coefficient access method for quadratic constraints"""

0 commit comments

Comments
 (0)