Skip to content
Snippets Groups Projects
Commit b5e5ec12 authored by Julien Michel's avatar Julien Michel
Browse files

BUG: Fixing code typo reported in #1223

parent 933088b8
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ const long double CONST_EULERl = 0.5772156649015328606065120900824024L; /* e
template <typename T> T InverseValue(const T & value)
{
return ((value > 0 || value > 0) ? 1/value : 0);
return ((value > 0 || value < 0) ? 1/value : 0);
}
template <typename T> T SignOfValue(const T & value)
......
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