Skip to content
Snippets Groups Projects
Commit 2e374434 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

WRG : potential divide by 0

parent cf9b5b5d
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ void
EuclideanDistanceWithMissingValuePow2< TVector >
::SetToMissingValue ( ValueType & v )
{
double zero = 0.0;
static double zero;
v = static_cast<ValueType>( 0.0/zero );
}
......
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