Explorar o código

glpk doesn't seem to like infinity, rather use a million seconds

Samuel Thibault %!s(int64=14) %!d(string=hai) anos
pai
achega
9ec8eff128
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/profiling/bound.c

+ 1 - 1
src/profiling/bound.c

@@ -714,7 +714,7 @@ static glp_prob *_starpu_bound_glp_resolve(void)
 				ia[n] = w+1;
 				ja[n] = colnum(w, t);
 				if (times[w][t] == -1.)
-					ar[n] = INFINITY;
+					ar[n] = 1000000000.;
 				else
 					ar[n] = times[w][t];
 				n++;