Skip to content

Commit

Permalink
solver_highs: return job cost on success
Browse files Browse the repository at this point in the history
  • Loading branch information
sinanmohd committed Jul 25, 2024
1 parent c458370 commit 0b16046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solver_highs.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ static int job_get(struct job **job, struct job_clist *q)
continue;

*job = j;
return 0;
return job_cost_recursive(j);
}

print_err("%s", "empty queue");
Expand Down

0 comments on commit 0b16046

Please sign in to comment.