Hello again,
I have another question about GMM++. I want to resize a matrix without keeping
old entries in it. In fact, all the entries have to be reset to zero.
The documentation says:
MATRIX_TYPE M(m1, n1);
.... your code
std::swap(M, MATRIX_TYPE(m2, n2)); // resize matrix M.My example code looks
almost the same:
gmm::dense_matrix<double> A(84,84);
//...
std::swap(A, gmm::dense_matrix<double>(24, 24))
The compiler returns this error:
...\..\main.cpp no matching function for call to
`swap(gmm::dense_matrix<double>&, gmm::dense_matrix<double>)'
So, what wrong with it? Thanks a lot for your help.
Regards.
_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users