Skip to content
Snippets Groups Projects
Commit ee8b6f2e authored by Vladimír Ulman's avatar Vladimír Ulman
Browse files

Removed some Apple compiler warning.

parent 6e8d4672
No related branches found
No related tags found
No related merge requests found
......@@ -317,7 +317,10 @@ int PnInitArray(i3d::Vector3d<size_t> const &size, const size_t frames,
//std. variation of 0.25 (and mean zero)
const float MaxMinSpan=(fmax-fmin)/2.f;
for (size_t t = 0; t < image_sz; ++t)
*(pnArray+t) = (*(pnArray+t)-fmean)/MaxMinSpan;
{
*(pnArray+t) -= fmean;
*(pnArray+t) /= MaxMinSpan;
}
//note: values now range from [-1.0 : 1.0]
//note: mostly occuring values range from [-0.5 : 0.5], a 4-sigma interval
......
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