Browse Source

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

Samuel Thibault 14 years ago
parent
commit
9ec8eff128
1 changed files with 1 additions and 1 deletions
  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++;