less verbose logs
This commit is contained in:
parent
feb82c35df
commit
b426012542
1 changed files with 33 additions and 30 deletions
|
@ -220,6 +220,7 @@ SEXP CCubes(SEXP tt) {
|
|||
if (PRINT_INFO) {
|
||||
Rprintf("---k: %d\n", k);
|
||||
}
|
||||
log_debug("ccubes", "---k: %d\n", k);
|
||||
|
||||
int n_tasks = nchoosek(ninputs, k);
|
||||
if (n_tasks == 0) {
|
||||
|
@ -270,6 +271,8 @@ SEXP CCubes(SEXP tt) {
|
|||
for (int current_task = 0; current_task < current_batch; current_task++) {
|
||||
log_debug("ccubes", "Task %d", current_task);
|
||||
|
||||
if (!ctx->h_redundant[current_task]) {
|
||||
/* LOG TASK */
|
||||
log_debug_raw("ccubes", "redundant[%d]: %d\n", current_task, ctx->h_redundant[current_task]);
|
||||
|
||||
log_debug_raw("ccubes", "coverage[%d]:", current_task);
|
||||
|
@ -300,7 +303,7 @@ SEXP CCubes(SEXP tt) {
|
|||
}
|
||||
log_debug_raw("ccubes", "\n");
|
||||
|
||||
if (!ctx->h_redundant[current_task]) {
|
||||
|
||||
int covsum = 0;
|
||||
for (int i = 0; i < posrows; i++) {
|
||||
covsum += ctx->h_coverage[current_task * posrows + i];
|
||||
|
|
Loading…
Add table
Reference in a new issue