Commit b5e5ec12 authored by Julien Michel's avatar Julien Michel

BUG: Fixing code typo reported in #1223

parent 933088b8
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment