mirror of https://github.com/YosysHQ/yosys.git
Fix floating point exception in qwp, fixes #923
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
32ff37bb5a
commit
93b7fd7744
|
@ -291,7 +291,7 @@ struct QwpWorker
|
|||
// gaussian elimination
|
||||
for (int i = 0; i < N; i++)
|
||||
{
|
||||
if (config.verbose && ((i+1) % (N/15)) == 0)
|
||||
if (config.verbose && N > 15 && ((i+1) % (N/15)) == 0)
|
||||
log("> Solved %d%%: %d/%d\n", (100*(i+1))/N, i+1, N);
|
||||
|
||||
// find best row
|
||||
|
|
Loading…
Reference in New Issue