Skip to content

Commit

Permalink
Bringing back 0 check from commented code. (Hurts vectorization?)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnettel committed Apr 25, 2016
1 parent 1cccade commit 2bc9083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cnF2freq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,7 @@ struct individ
double step = (tb.factors[*tb.shiftflagmode])[index][i] - factor;
if (probs[i] == 0.0 || step <= -100.0f) continue;
double basef = exp((double)step) * probs[i];
// if (basef == 0.0 || !_finite(basef)) continue;
if (basef == 0.0) continue;
const double* probsource = &(tb.cacheprobs[*tb.shiftflagmode])[index][i][0];
#pragma ivdep
for (int j = 0; j < NUMTYPES; j++)
Expand Down

0 comments on commit 2bc9083

Please sign in to comment.