Skip to content

Commit

Permalink
added more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
muschellij2 committed Jun 4, 2024
1 parent f8a6f0f commit 5f037cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gcalibrate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,6 @@ Rcpp::List gcalibrateC(Rcpp::Nullable<Rcpp::String> pathname = R_NilValue, Rcpp:

if (debug) {
Rcpp::Rcout << "!!!CPP parser info: running Cscale creation\n";
Rcpp::Rcout << "!!!CPP parser info: maxiter" << maxiter << "\n";
}
for(int iter = 0; iter < maxiter; iter++){
curr = Cscale(input, offset, scale);
Expand Down Expand Up @@ -396,6 +395,8 @@ Rcpp::List gcalibrateC(Rcpp::Nullable<Rcpp::String> pathname = R_NilValue, Rcpp:
if((calErrorEnd < calErrorStart) && (calErrorEnd < 0.01) && (nhoursused > minloadcrit)){
LD = 0;
Rcpp::Rcout << "Recalibration done, no problems detected";
} else {
Rcpp::Rcout << "Recalibration criteria not met\n";
}
}
i += 1;
Expand Down

0 comments on commit 5f037cc

Please sign in to comment.