Skip to content

Commit

Permalink
USE_CLOUDY fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfrantz committed Apr 15, 2024
1 parent b7915f4 commit 2874315
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/higher-level/bap-hl.c
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ float max_score = -1;
if (!bap->offsea && score[t].d < 0.01) continue;
if (bap->w.h > 0 && score[t].h < 0.01 &&
hmean > 0.01 && hsd > 0.01) continue;
if (bap->use_cloudy && bap->w.c > 0 && score[t].c < 0.01) continue;
if (!bap->use_cloudy && bap->w.c > 0 && score[t].c < 0.01) continue;

n++;

Expand Down Expand Up @@ -799,7 +799,7 @@ float sum_weight = 0;
if (!bap->offsea && score[t].d < 0.01) continue;
if (bap->w.h > 0 && score[t].h < 0.01 &&
hmean > 0.01 && hsd > 0.01) continue;
if (bap->use_cloudy && bap->w.c > 0 && score[t].c < 0.01) continue;
if (!bap->use_cloudy && bap->w.c > 0 && score[t].c < 0.01) continue;


for (b=0; b<nb; b++) l3->bap[b][p] += (ard[t].dat[b][p] * score[t].t);
Expand Down

0 comments on commit 2874315

Please sign in to comment.