diff options
Diffstat (limited to 'lib/CodeGen/PBQP/HeuristicBase.h')
| -rw-r--r-- | lib/CodeGen/PBQP/HeuristicBase.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/CodeGen/PBQP/HeuristicBase.h b/lib/CodeGen/PBQP/HeuristicBase.h index 3bb24e1..3744231 100644 --- a/lib/CodeGen/PBQP/HeuristicBase.h +++ b/lib/CodeGen/PBQP/HeuristicBase.h @@ -174,8 +174,11 @@ namespace PBQP { while (!finished) { if (!optimalReduce()) - if (!impl().heuristicReduce()) + if (impl().heuristicReduce()) { + getSolver().recordRN(); + } else { finished = true; + } } } |
