From 18d581a943fcb634690261c5848ac9573e9f7762 Mon Sep 17 00:00:00 2001 From: Jiri Pittner Date: Tue, 3 Feb 2026 17:45:33 +0100 Subject: [PATCH] semisparsemat operator*(nrvec) --- sparsemat.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sparsemat.h b/sparsemat.h index 3bc5c8a..3688104 100644 --- a/sparsemat.h +++ b/sparsemat.h @@ -344,6 +344,7 @@ public: for(int i=0; i operator*(const NRVec &rhs) const {NRVec result(nrows()); gemv((T)0,result,'n',(T)1,rhs); return result;}; const T* diagonalof(NRVec &x, const bool divide=0, bool cache=false) const { if(diagonal.size()>0) //we ASSUME the diagonal is ONLY in the vector