From 52ecfd36f6928b99cb0b9d6b6f638ec952ce94ff Mon Sep 17 00:00:00 2001 From: Jiri Pittner Date: Wed, 2 Nov 2022 16:42:54 +0100 Subject: [PATCH] on some compiler explicit instantiation od soem methods was needed in sparsemat.cc --- sparsemat.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sparsemat.cc b/sparsemat.cc index 8966488..6dc3ac6 100644 --- a/sparsemat.cc +++ b/sparsemat.cc @@ -1389,7 +1389,9 @@ template class SparseMat >; #define INSTANTIZE(T) \ template NRMat::NRMat(const SparseMat &rhs); \ template NRSMat::NRSMat(const SparseMat &rhs); \ -template NRVec::NRVec(const SparseMat &rhs); +template NRVec::NRVec(const SparseMat &rhs); \ +template void NRVec::gemv(const T beta, const SparseMat &a, const char trans, const T alpha, const NRVec &x, const bool treat_as_symmetric); \ + INSTANTIZE(double) INSTANTIZE(std::complex)