From 831404d08d07a215a3b565d63b61841557184014 Mon Sep 17 00:00:00 2001 From: Jiri Pittner Date: Wed, 26 Nov 2025 17:46:26 +0100 Subject: [PATCH] fourindex: adding set() for compatibility with templated use --- fourindex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fourindex.h b/fourindex.h index d1f88a3..4001401 100644 --- a/fourindex.h +++ b/fourindex.h @@ -1244,7 +1244,7 @@ if (!NRSMat::v) laerror("access to unallocated fourindex_dense"); #endif return (*this).NRSMat::operator() ((j-1)*nnbas+i-1,(b-1)*nnbas+a-1); } - + inline void set(unsigned int i, unsigned int j, unsigned int k, unsigned int l, T elem) {this->operator()(i,j,k,l)=elem;}; void print(std::ostream &out) const { unsigned int i,j,a,b;