Merge branch 'prerelease-3.2.1'
[unres.git] / source / cluster / wham / src / parmread.F
index 656d219..b1a9a32 100644 (file)
@@ -502,6 +502,7 @@ cc maxinter is maximum interaction sites
 
       if (lprint) then
         write (iout,'(/a/)') 'Torsional constants:'
+        do l=1,maxinter
         do i=1,nsccortyp
           do j=1,nsccortyp
             write (iout,*) 'ityp',i,' jtyp',j
@@ -517,6 +518,7 @@ cc maxinter is maximum interaction sites
             enddo
           enddo
         enddo
+        enddo
       endif
 
 C