diff --git a/src/MOI_wrapper/results.jl b/src/MOI_wrapper/results.jl index c82e07f9..4ef162bb 100644 --- a/src/MOI_wrapper/results.jl +++ b/src/MOI_wrapper/results.jl @@ -50,10 +50,10 @@ end "Make sure that the problem was solved (SCIP is in SOLVED stage)." function assert_solved(o::Optimizer) # SCIP's stage is SOLVING when stopped by user limit! - assert_stage(o, [SCIP_STAGE_SOLVING, SCIP_STAGE_SOLVED]) + assert_stage(o, (SCIP_STAGE_SOLVING, SCIP_STAGE_SOLVED)) # Check for invalid status (when stage is SOLVING). - status = SCIPgetStage(o) + status = SCIPgetStatus(o) if status in (SCIP_STATUS_UNKNOWN, SCIP_STATUS_USERINTERRUPT, SCIP_STATUS_TERMINATE)