linear csacutoff fix
authorDawid Jagiela <lightnir@chem.univ.gda.pl>
Wed, 7 Mar 2012 12:02:31 +0000 (13:02 +0100)
committerDawid Jagiela <lightnir@chem.univ.gda.pl>
Wed, 7 Mar 2012 12:02:31 +0000 (13:02 +0100)
source/ga/GA.f

index 59eee18..13af8fe 100644 (file)
@@ -229,7 +229,7 @@ c --- debug begin ---
 c --- debug end ---
 
          call WriteBank(bank)
-         csacutoff=csacutoff-(cicutoff/maxgen)
+         csacutoff=csacutoff-(generation*cicutoff/maxgen)
 c       csacutoff=cicutoff*(0.8**(iter-1))
 
          write(tmptext,'(F7.5)') csacutoff