diff options
Diffstat (limited to 'src/sat/glucose/SimpSolver.h')
-rw-r--r-- | src/sat/glucose/SimpSolver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sat/glucose/SimpSolver.h b/src/sat/glucose/SimpSolver.h index 3f02f13e..0f619b19 100644 --- a/src/sat/glucose/SimpSolver.h +++ b/src/sat/glucose/SimpSolver.h @@ -167,7 +167,7 @@ class SimpSolver : public Solver { // Implementation of inline methods: -inline bool SimpSolver::isEliminated (Var v) const { return eliminated[v] != 0; } +inline bool SimpSolver::isEliminated (Var v) const { return eliminated.size() ? eliminated[v] != 0 : 0; } inline void SimpSolver::updateElimHeap(Var v) { assert(use_simplification); // if (!frozen[v] && !isEliminated(v) && value(v) == l_Undef) |