Skip to content
Snippets Groups Projects
Commit 04ce9049 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

COMP: fix ambiguous call to log (Win32)

parent c95a5be6
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,7 @@ public:
if (p[k]<m_Epsilon) //n=log(n)-->0 when n-->0
plog[k]=0.0;
else
plog[k]=-p[k]*log(p[k])/log(3);
plog[k]=-p[k]*log(p[k])/log(3.0);
}
entropy = 0.0;
......
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