Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Dec 8, 2022
1 parent 4a451b1 commit 8981d32
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/math/lp/stacked_vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ template < typename B> class stacked_vector {
bool operator==(B const& other) const {
return m_vec.m_vector[m_i] == other;
}
bool operator!=(B const& other) const {
return m_vec.m_vector[m_i] != other;
}
B& operator+=(B const &delta) {
// not tracking the change here!
return m_vec.m_vector[m_i] += delta;
Expand Down

0 comments on commit 8981d32

Please sign in to comment.