From 0b1604635644ab613a4ea96cf616373ea4363ad3 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Thu, 25 Jul 2024 16:48:11 +0530 Subject: solver_highs: return job cost on success --- src/solver_highs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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"); -- cgit v1.2.3