Commit 95e22adf authored by Andrey Filippov's avatar Andrey Filippov

more bug fixes

parent 08d6be50
...@@ -3677,13 +3677,17 @@ public class MatchSimulatedPattern { ...@@ -3677,13 +3677,17 @@ public class MatchSimulatedPattern {
} }
} }
} else if (initialWave!=null){
if ((global_debug_level>0) && (initialWave!=null)) {
System.out.println("No sense to initiate clenaup during first layer"); // problems heer?
}
} else if (!cleanup.get() || (addedCells.get()>0)) { // create list of the defined cells on the border (if wave died) } else if (!cleanup.get() || (addedCells.get()>0)) { // create list of the defined cells on the border (if wave died)
cleanup.set(true); cleanup.set(true);
// debug // debug
if ((global_debug_level>0) && (initialWave!=null)) { // if ((global_debug_level>0) && (initialWave!=null)) {
System.out.println("clenaup during first layer"); // problems heer? // System.out.println("clenaup during first layer"); // problems heer?
System.out.println("Added "+addedCells.get()+" during border cleanup on first layer"); // System.out.println("Added "+addedCells.get()+" during border cleanup on first layer");
} // }
if ((debugLevel>1) && !cleanup.get()) System.out.println("Added "+addedCells.get()+" during border cleanup"); // can not get here if ((debugLevel>1) && !cleanup.get()) System.out.println("Added "+addedCells.get()+" during border cleanup"); // can not get here
addedCells.set(0); addedCells.set(0);
umax=0; umax=0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment