aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-07-25 16:48:11 +0530
committersinanmohd <sinan@sinanmohd.com>2024-07-25 16:48:11 +0530
commit0b1604635644ab613a4ea96cf616373ea4363ad3 (patch)
tree90c39fef39b0bc29a090684b50615c15d58036d6 /src
parentc4583708c643b741eb6d4c64a9f9092f7da9546f (diff)
solver_highs: return job cost on success
Diffstat (limited to 'src')
-rw-r--r--src/solver_highs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/solver_highs.c b/src/solver_highs.c
index 5f96ea1..214fb8d 100644
--- a/src/solver_highs.c
+++ b/src/solver_highs.c
@@ -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");