Skip to content

Commit 799739d

Browse files
committed
Look, the tests caught a bug
1 parent 190bf09 commit 799739d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyomo/contrib/solver/solvers/gurobi_direct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def license_available(
229229
- BadLicense : clearly invalid/corrupt license
230230
- Unknown : unexpected error states
231231
"""
232-
if not gurobipy_available:
232+
if not self._gurobipy_available:
233233
return LicenseAvailability.NotAvailable
234234
if not recheck and self._license_cache is not None:
235235
return self._license_cache

0 commit comments

Comments
 (0)