Skip to content
Snippets Groups Projects
Commit 925bb3ec authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

DOC : Determinant computation error fixed

parents a944cba1 8bbbccde
No related branches found
No related tags found
No related merge requests found
......@@ -56,8 +56,8 @@ namespace otb
*/
inline TOutput operator()(const TInput& input)
{
double determinant = static_cast<TOutput>(input[0]*input[1]-0.9*input[2]*input[2]);
return (vcl_abs(determinant)<0.05)?0:determinant;
return static_cast<TOutput>(input[0]*input[1] - input[2]*input[2]);
}
bool operator !=(const HessianDeterminant) const
......
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