Skip to content
Snippets Groups Projects
Commit 46c75103 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

ENH:replace vlc_pow by p*p

parent 22f9049a
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ public:
for (unsigned s = 0; s < this->GetHisto()[r].size(); ++s)
{
double p = static_cast<double>(this->GetHisto()[r][s]) * areaInv;
out += vcl_pow(p, 2);
out += p*p;
}
}
return out;
......
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