Merge branch 'multichain' into lipid
[unres.git] / source / unres / src_MD-M / chainbuild.F
index 3a1c47d..79e3c42 100644 (file)
@@ -19,6 +19,10 @@ C Set lprn=.true. for debugging
       perbox=.false.
       fail=.false.
       print *, 'enter chainbuild' 
+      call chainbuild_cart
+      return
+      end
+#ifdef DEBUG
       if (perbox) then
       cost=dcos(theta(3))
       sint=dsin(theta(3))
@@ -175,6 +179,7 @@ C
       endif
       return
       end
+#endif
 c-------------------------------------------------------------------------
       subroutine orig_frame
 C