Skip to content

Commit d42c496

Browse files
committed
typo
1 parent 3235b75 commit d42c496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyscipopt/recipes/infeasibilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def get_infeasible_constraints(orig_model: Model, verbose: bool = False):
3636

3737
n_infeasibilities_detected = 0
3838
for c in binary:
39-
if model.isInfinity(binary[c]) or model.isGT(model.getVal(binary[c]), 0):
39+
if model.isInfinity(model.getVal(binary[c])) or model.isGT(model.getVal(binary[c]), 0):
4040
n_infeasibilities_detected += 1
4141
print("Constraint %s is causing an infeasibility." % c)
4242

0 commit comments

Comments
 (0)