X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc-HCD-5D%2Fstochfric.F;h=c83e9ce3897ab6e1ef41259d4610f1d2479c26da;hb=57038e4bdff4cc9534106b25bfbd4b9a844d47fd;hp=c8a3a0d21476a33d7bae295203972cecac099157;hpb=de4daf245936d67b5c08eb584fca985adab9928e;p=unres.git diff --git a/source/unres/src-HCD-5D/stochfric.F b/source/unres/src-HCD-5D/stochfric.F index c8a3a0d..c83e9ce 100644 --- a/source/unres/src-HCD-5D/stochfric.F +++ b/source/unres/src-HCD-5D/stochfric.F @@ -25,7 +25,7 @@ include 'COMMON.IOUNITS' #ifdef FIVEDIAG integer iposc,ichain,n,innt,inct - double precision v_work(3,maxres2),vvec(maxres2_chain),rs(maxres2) + double precision v_work(3,maxres2),vvec(maxres2),rs(maxres2) #else double precision gamvec(MAXRES6) common /syfek/ gamvec @@ -496,6 +496,10 @@ c------------------------------------------------------------------ double precision time00 #endif include 'DIMENSIONS' +#ifndef FIVEDIAG + integer mmaxres2 + parameter (mmaxres2=(maxres2*(maxres2+1)/2)) +#endif include 'COMMON.VAR' include 'COMMON.CHAIN' include 'COMMON.DERIV'