infinity: Disallow very small coefficients

This commit is contained in:
2017-08-09 09:46:42 -04:00
parent 0f4480a16d
commit 00298630da
2 changed files with 101 additions and 11 deletions

View File

@@ -155,6 +155,7 @@ static int create_cut_from_lfree(const struct Tableau *tableau,
}
value *= 1.001;
value = fmax(value, 0.001);
log_verbose(" psi[%4d] = %20.12lf %d\n", map->indices[i], value);
cut->indices[i] = map->indices[i];