Fized same buffer issue in gather and gatherv in wham and cluster and a minor issue...
[unres.git] / source / cluster / wham / src / initialize_p.F
index f8b9426..224cb21 100644 (file)
@@ -345,7 +345,7 @@ cd      write (iout,*) 'i=',i,' scheck=',scheck,' jj=',jj
           nint_gr(i)=1
           istart(i,1)=i+1
           iend(i,1)=nct
-          ind_scint=int_scint+nct-i
+          ind_scint=ind_scint+nct-i
 #endif
         endif
 #ifdef MPL