mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
The Permutation Matrix' values
function attempted an incorrect conversion.
This causes compilation with GCC 8 to fail. I suspect it worked previously due to SFINAE.
This commit is contained in:
parent
502d0e37dd
commit
2d5dd80238
|
@ -132,7 +132,7 @@ class permutation_matrix : public tail_matrix<T, X> {
|
|||
|
||||
unsigned size() const { return static_cast<unsigned>(m_rev.size()); }
|
||||
|
||||
unsigned * values() const { return m_permutation; }
|
||||
unsigned * values() const { return m_permutation.c_ptr(); }
|
||||
|
||||
void resize(unsigned size) {
|
||||
unsigned old_size = m_permutation.size();
|
||||
|
|
Loading…
Reference in a new issue