Skip to content

Commit d91e250

Browse files
Fix types
1 parent ebed3b0 commit d91e250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linopy/solvers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ def solve_problem_from_file(
13411341
-------
13421342
Result
13431343
"""
1344-
CONDITION_MAP: dict[str, str] = {
1344+
CONDITION_MAP: dict[str, TerminationCondition] = {
13451345
# https://github.com/scipopt/scip/blob/b2bac412222296ff2b7f2347bb77d5fc4e05a2a1/src/scip/type_stat.h#L40
13461346
"inforunbd": TerminationCondition.infeasible_or_unbounded,
13471347
"userinterrupt": TerminationCondition.user_interrupt,

0 commit comments

Comments
 (0)