Skip to content
Snippets Groups Projects
Commit 07a4c581 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

COMP: Fixed EuclideanDistanceWithMissingValuePow2 compilation error on Visual Studio (cast value)

parent 2d6439d7
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ bool
EuclideanDistanceWithMissingValuePow2< TVector >
::IsMissingValue ( const ValueType & v)
{
return static_cast<bool>( _isnan( const_cast<double>( v ) ) );
return static_cast<bool>( _isnan( static_cast<double>( v ) ) );
}
#elif HAVE_IEEE_COMPARISONS
......
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