mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
fix crashes with MSVC 2019
This commit is contained in:
parent
aeac0b46a0
commit
b7caabbd0f
|
@ -94,7 +94,6 @@ class lar_solver : public column_namer {
|
||||||
// these are basic columns with the value changed, so the the corresponding row in the tableau
|
// these are basic columns with the value changed, so the the corresponding row in the tableau
|
||||||
// does not sum to zero anymore
|
// does not sum to zero anymore
|
||||||
u_set m_incorrect_columns;
|
u_set m_incorrect_columns;
|
||||||
stacked_value<int> m_crossed_bounds_column_index; // such can be found at the initialization step
|
|
||||||
stacked_value<unsigned> m_term_count;
|
stacked_value<unsigned> m_term_count;
|
||||||
vector<lar_term*> m_terms;
|
vector<lar_term*> m_terms;
|
||||||
indexed_vector<mpq> m_column_buffer;
|
indexed_vector<mpq> m_column_buffer;
|
||||||
|
|
|
@ -63,6 +63,10 @@ public:
|
||||||
m_value = std::move(arg);
|
m_value = std::move(arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void operator=(const T &arg) {
|
||||||
|
m_value = arg;
|
||||||
|
}
|
||||||
|
|
||||||
operator T&() {
|
operator T&() {
|
||||||
return m_value;
|
return m_value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue