Loading src/main/java/EyesisAberrations.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1256,7 +1256,7 @@ public class EyesisAberrations { loopDebugLevel, // debug level loopDebugLevel, // debug level aberrationParameters.noMessageBoxes); aberrationParameters.noMessageBoxes); if (rslt<0){ if (rslt<0){ if (debugLevel>0) System.out.println("calculateDistortions failed, returned error code "+rslt+" riRetry="+iRetry+" (of "+MaxRetries+")"); if (debugLevel>0) System.out.println("calculateDistortions failed, returned error code "+rslt+" iRetry="+iRetry+" (of "+MaxRetries+")"); continue; continue; } } correlationSizesUsed=matchSimulatedPattern.getCorrelationSizesUsed(); correlationSizesUsed=matchSimulatedPattern.getCorrelationSizesUsed(); Loading src/main/java/MatchSimulatedPattern.java +9 −2 Original line number Original line Diff line number Diff line Loading @@ -3279,12 +3279,19 @@ public class MatchSimulatedPattern { ); ); if (nodeQueue.isEmpty()) { // nodes==null){ if (nodeQueue.isEmpty()) { // nodes==null){ // if (debugLevel>1) System.out.println("All start points tried"); // if (debugLevel>1) System.out.println("All start points tried"); if (global_debug_level>0) System.out.println("All start points tried"); if (global_debug_level>0) { System.out.println("All start points tried"); int numLeft=0; for (boolean b:triedIndices) if (!b) numLeft++; System.out.println("startScanIndex="+startScanIndex+" numTries="+numTries+" numLeft="+numLeft); } triedIndices[numTries]=true; // all tried triedIndices[numTries]=true; // all tried } else { } else { // if (debugLevel>1) System.out.println("Found "+nodes.length+" candidates"); // if (debugLevel>1) System.out.println("Found "+nodes.length+" candidates"); // if (debugLevel>1) System.out.println("distortions: Found "+nodeQueue.size()+" candidates"); // if (debugLevel>1) System.out.println("distortions: Found "+nodeQueue.size()+" candidates"); if (global_debug_level>0) System.out.println("distortions: Found "+nodeQueue.size()+" candidates"); if (global_debug_level>0){ System.out.println("distortions: Found "+nodeQueue.size()+" candidates"); } } } } else { } else { System.out.println("All start points tried before - should not get here"); System.out.println("All start points tried before - should not get here"); Loading Loading
src/main/java/EyesisAberrations.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1256,7 +1256,7 @@ public class EyesisAberrations { loopDebugLevel, // debug level loopDebugLevel, // debug level aberrationParameters.noMessageBoxes); aberrationParameters.noMessageBoxes); if (rslt<0){ if (rslt<0){ if (debugLevel>0) System.out.println("calculateDistortions failed, returned error code "+rslt+" riRetry="+iRetry+" (of "+MaxRetries+")"); if (debugLevel>0) System.out.println("calculateDistortions failed, returned error code "+rslt+" iRetry="+iRetry+" (of "+MaxRetries+")"); continue; continue; } } correlationSizesUsed=matchSimulatedPattern.getCorrelationSizesUsed(); correlationSizesUsed=matchSimulatedPattern.getCorrelationSizesUsed(); Loading
src/main/java/MatchSimulatedPattern.java +9 −2 Original line number Original line Diff line number Diff line Loading @@ -3279,12 +3279,19 @@ public class MatchSimulatedPattern { ); ); if (nodeQueue.isEmpty()) { // nodes==null){ if (nodeQueue.isEmpty()) { // nodes==null){ // if (debugLevel>1) System.out.println("All start points tried"); // if (debugLevel>1) System.out.println("All start points tried"); if (global_debug_level>0) System.out.println("All start points tried"); if (global_debug_level>0) { System.out.println("All start points tried"); int numLeft=0; for (boolean b:triedIndices) if (!b) numLeft++; System.out.println("startScanIndex="+startScanIndex+" numTries="+numTries+" numLeft="+numLeft); } triedIndices[numTries]=true; // all tried triedIndices[numTries]=true; // all tried } else { } else { // if (debugLevel>1) System.out.println("Found "+nodes.length+" candidates"); // if (debugLevel>1) System.out.println("Found "+nodes.length+" candidates"); // if (debugLevel>1) System.out.println("distortions: Found "+nodeQueue.size()+" candidates"); // if (debugLevel>1) System.out.println("distortions: Found "+nodeQueue.size()+" candidates"); if (global_debug_level>0) System.out.println("distortions: Found "+nodeQueue.size()+" candidates"); if (global_debug_level>0){ System.out.println("distortions: Found "+nodeQueue.size()+" candidates"); } } } } else { } else { System.out.println("All start points tried before - should not get here"); System.out.println("All start points tried before - should not get here"); Loading