[Numerics] Fix BandMatrix assignment operator

This commit is contained in:
Ray Speth 2016-07-29 15:00:16 -04:00
parent e70e5bf5be
commit af3de9aa4d

View file

@ -92,6 +92,7 @@ BandMatrix& BandMatrix::operator=(const BandMatrix& y)
size_t ldab = (2 * m_kl + m_ku + 1);
for (size_t j = 0; j < m_n; j++) {
m_colPtrs[j] = &data[ldab * j];
m_lu_col_ptrs[j] = &ludata[ldab * j];
}
return *this;
}