Commit 08d6be50 authored by Andrey Filippov's avatar Andrey Filippov

other debugging

parent 6c9d6370
......@@ -1256,7 +1256,7 @@ public class EyesisAberrations {
loopDebugLevel, // debug level
aberrationParameters.noMessageBoxes);
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;
}
correlationSizesUsed=matchSimulatedPattern.getCorrelationSizesUsed();
......
......@@ -3279,12 +3279,19 @@ public class MatchSimulatedPattern {
);
if (nodeQueue.isEmpty()) { // nodes==null){
// 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
} else {
// if (debugLevel>1) System.out.println("Found "+nodes.length+" 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 {
System.out.println("All start points tried before - should not get here");
......
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