Adam's cluster wham update
[unres.git] / source / cluster / wham / src-HCD / read_constr_homology.F
index 6ae3ef4..f2fb1d0 100644 (file)
@@ -257,8 +257,8 @@ c    &                       constr_homology
               endif
               sigma_odl(k,ii)=1.0d0/(sigma_odl(k,ii)*sigma_odl(k,ii)) 
             else
-              ii=ii+1
-              l_homo(k,ii)=.false.
+c              ii=ii+1
+c              l_homo(k,ii)=.false.
             endif
             enddo
           enddo
@@ -558,6 +558,7 @@ c Read clusters
         read(ientin,*) (inclust(k,i),k=1,ninclust(i))
         read(ientin,*) (iresclust(k,i),k=1,nresclust(i))
       enddo
+      close(ientin)
 c
 c Loop over clusters
 c