Skip to content
Snippets Groups Projects
Commit 02e8c4e2 authored by Christoph Lehmann's avatar Christoph Lehmann
Browse files

[MaL] finalize Eigen matrix assembly

parent e331d6ea
No related branches found
No related tags found
No related merge requests found
......@@ -323,6 +323,11 @@ void matMultAdd(EigenMatrix const& A, EigenVector const& v1, EigenVector const&
v3.getRawVector() = v2.getRawVector() + A.getRawMatrix()*v1.getRawVector();
}
void finalizeAssembly(EigenMatrix& x)
{
x.getRawMatrix().makeCompressed();
}
} // namespace BLAS
} // namespace MathLib
......
......@@ -226,6 +226,8 @@ void matMult(EigenMatrix const& A, EigenVector const& x, EigenVector& y);
void matMultAdd(EigenMatrix const& A, EigenVector const& v1,
EigenVector const& v2, EigenVector& v3);
void finalizeAssembly(EigenMatrix& A);
} // namespace BLAS
} // namespace MathLib
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment