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)