mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-26 05:02:16 +00:00
[uBLAS] FIX default copy constructor missed j_. Use implict copy constructor instead
This commit is contained in:
@@ -59,9 +59,6 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
hermitian_matrix_element (matrix_type &m, size_type i, size_type j, value_type d):
|
||||
container_reference<matrix_type> (m), i_ (i), j_ (j), d_ (d), dirty_ (false) {}
|
||||
BOOST_UBLAS_INLINE
|
||||
hermitian_matrix_element (const hermitian_matrix_element &p):
|
||||
container_reference<matrix_type> (p), i_ (p.i_), d_ (p.d_), dirty_ (p.dirty_) {}
|
||||
BOOST_UBLAS_INLINE
|
||||
~hermitian_matrix_element () {
|
||||
if (dirty_)
|
||||
(*this) ().insert_element (i_, j_, d_);
|
||||
|
||||
Reference in New Issue
Block a user