From 457beea7e0ec7e7466072cfdbfc84d89e7045c60 Mon Sep 17 00:00:00 2001 From: jiri Date: Sun, 17 Sep 2006 22:21:54 +0000 Subject: [PATCH] *** empty log message *** --- fourindex.h | 1 + 1 file changed, 1 insertion(+) diff --git a/fourindex.h b/fourindex.h index d759769..00d9445 100644 --- a/fourindex.h +++ b/fourindex.h @@ -690,6 +690,7 @@ private: unsigned int noca,nocb,nvra,nvrb; public: fourindex_dense(): NRMat() {noca=nocb=nvra=nvrb=0;}; + void resize(const int nocca, const int noccb, const int nvrta, const int nvrtb) {noca=nocca; nocb=noccb; nvra=nvrta; nvrb=nvrtb; (*this).NRMat::resize(nocca*noccb,nvrta*nvrtb);}; explicit fourindex_dense(const int nocca, const int noccb, const int nvrta, const int nvrtb): NRMat(nocca*noccb,nvrta*nvrtb) {noca=nocca; nocb=noccb; nvra=nvrta; nvrb=nvrtb;}; //here i,a are alpha j,b beta