Dear all,
Matrix multiplication requires resulting matrix to be initialized. Even if
rebuild_sparsity_C = true .
template <typename number>
template <typename numberB, typename numberC>
void
SparseMatrix<number>::mmult (SparseMatrix<numberC> &C,
const SparseMatrix<numberB> &B,
const Vector<number> &V,
const bool
rebuild_sparsity_C) const
{
const bool use_vector = V.size() == n() ? true : false;
Assert (n() == B.m(), ExcDimensionMismatch(n(), B.m()));
Assert (cols != 0, ExcNotInitialized());
Assert (B.cols != 0, ExcNotInitialized());
Assert (C.cols != 0, ExcNotInitialized()); //HERE!!
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.