diff options
author | Clark Barrett <clarkbarrett@google.com> | 2015-04-21 16:34:15 -0700 |
---|---|---|
committer | Clark Barrett <clarkbarrett@google.com> | 2015-04-21 16:34:15 -0700 |
commit | d95fe7675e20eaee86b8e804469e6db83265a005 (patch) | |
tree | 34616ecdc217d608b97d9432a368b20c75039542 /src/theory/arith/linear_equality.h | |
parent | 22601bce9648a8e784527e4e5d176f634d234797 (diff) |
Changes needed to compile at Google, plus some bug fixes from Google.
Diffstat (limited to 'src/theory/arith/linear_equality.h')
-rw-r--r-- | src/theory/arith/linear_equality.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/arith/linear_equality.h b/src/theory/arith/linear_equality.h index f6717d141..99ec6e52c 100644 --- a/src/theory/arith/linear_equality.h +++ b/src/theory/arith/linear_equality.h @@ -159,7 +159,8 @@ public: } void dropNonZeroes(){ - std::remove_if(d_vec.begin(), d_vec.end(), &Border::nonZero); + d_vec.erase(std::remove_if(d_vec.begin(), d_vec.end(), &Border::nonZero), + d_vec.end()); } const Border& top() const { |