Commit ce517a59 authored by Andrey Filippov's avatar Andrey Filippov

Restoring infinity testing

parent 9e5d4e97
This diff is collapsed.
...@@ -4315,21 +4315,23 @@ public class QuadCLT { ...@@ -4315,21 +4315,23 @@ public class QuadCLT {
show_fine_corr( this.fine_corr, " was"); show_fine_corr( this.fine_corr, " was");
} }
} }
if (debugLevel > 1){ if (corr==null) {
System.out.println("New correction is null (only non-null for poly, not for infinity");
return;
} else {
if (debugLevel > 1){ if (debugLevel > 1){
show_fine_corr(corr, "added"); show_fine_corr(corr, "added");
} }
} for (int n = 0; n< corr.length; n++){
for (int i = 0; i< corr[n].length; i++){
for (int n = 0; n< corr.length; n++){ for (int j = 0; j< corr[n][i].length; j++){
for (int i = 0; i< corr[n].length; i++){ this.fine_corr[n][i][j]+=corr[n][i][j];
for (int j = 0; j< corr[n][i].length; j++){ }
this.fine_corr[n][i][j]+=corr[n][i][j];
} }
} }
} if (debugLevel > 0){
if (debugLevel > 0){ show_fine_corr( this.fine_corr, "");
show_fine_corr( this.fine_corr, ""); }
} }
} }
public void show_fine_corr() public void show_fine_corr()
......
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