add debug info
This commit is contained in:
@@ -784,6 +784,10 @@ Cube<eT>::operator=(const Cube<eT>& x)
|
||||
|
||||
arrayops::copy( memptr(), x.mem, n_elem );
|
||||
}
|
||||
else
|
||||
{
|
||||
arma_debug_print("Cube::operator=(): copy omitted");
|
||||
}
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -106,7 +106,12 @@ MapMat<eT>::operator=(const MapMat<eT>& x)
|
||||
{
|
||||
arma_debug_sigprint();
|
||||
|
||||
if(this == &x) { return; }
|
||||
if(this == &x)
|
||||
{
|
||||
arma_debug_print("MapMat::operator=(): copy omitted");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
access::rw(n_rows) = x.n_rows;
|
||||
access::rw(n_cols) = x.n_cols;
|
||||
|
||||
@@ -915,6 +915,10 @@ Mat<eT>::operator=(const Mat<eT>& in_mat)
|
||||
|
||||
arrayops::copy( memptr(), in_mat.mem, in_mat.n_elem );
|
||||
}
|
||||
else
|
||||
{
|
||||
arma_debug_print("Mat::operator=(): copy omitted");
|
||||
}
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -5124,7 +5124,12 @@ SpMat<eT>::init(const SpMat<eT>& x)
|
||||
{
|
||||
arma_debug_sigprint();
|
||||
|
||||
if(this == &x) { return; }
|
||||
if(this == &x)
|
||||
{
|
||||
arma_debug_print("SpMat::init(): copy omitted");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
bool init_done = false;
|
||||
|
||||
|
||||
@@ -2120,7 +2120,12 @@ field<oT>::init(const field<oT>& x)
|
||||
{
|
||||
arma_debug_sigprint();
|
||||
|
||||
if(this == &x) { return; }
|
||||
if(this == &x)
|
||||
{
|
||||
arma_debug_print("field::init(): copy omitted");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
field& t = (*this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user