diff --git a/include/armadillo_bits/unwrap.hpp b/include/armadillo_bits/unwrap.hpp index 1f6c48fa..dedd3894 100644 --- a/include/armadillo_bits/unwrap.hpp +++ b/include/armadillo_bits/unwrap.hpp @@ -386,7 +386,7 @@ struct quasi_unwrap< subview_col > inline quasi_unwrap(const subview_col& A) : orig( A.m ) - , M ( const_cast( A.colptr(0) ), A.n_rows, false, false ) + , M ( const_cast( A.colmem ), A.n_rows, false, false ) { arma_extra_debug_sigprint(); }