Skip to content
Snippets Groups Projects
Commit dfd79093 authored by ShadowNinja's avatar ShadowNinja
Browse files

Fix GCC compiler warning

parent 2923eafa
No related branches found
No related tags found
No related merge requests found
......@@ -173,8 +173,8 @@ void TestRandom::testPcgRandomNormalDist()
UASSERT(ubound <= max);
int accum = 0;
for (int i = lbound; i != ubound; i++)
accum += bins[i - min];
for (int j = lbound; j != ubound; j++)
accum += bins[j - min];
float actual = (float)accum / num_samples;
UASSERT(fabs(actual - prediction_intervals[i]) < 0.02);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment