The following loop is not vectorized due to “potential early exits”. But I cannot see how this could be: no change to the loop variable, no break.
Thanks for enlightening me!
mario
for(j=N-1, jnew=mNumGoodFreq-1; j >= 0; --j)
if(mGoodFreq[j])
{
mV[j*N + i] = mU[jnew*mNumGoodFreq + inew] * mSqrtCodonFreq[j];
--jnew;
}
else
{
mV[j*N + i] = (i == j) ? 1. : 0.;
}