]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Image/Dijkstra.hxx
Some more tests
[FrontAlgorithms.git] / lib / fpa / Image / Dijkstra.hxx
index eca6ce3672f6749e39d050da675afc8815f3e76b..4f7b60beee216b3700d416017c4105395246a8dc 100644 (file)
@@ -51,7 +51,7 @@ void fpa::Image::Dijkstra< I, O >::
 _InitResults( )
 {
   this->Superclass::_InitResults( );
-  this->GetOutput( )->FillBuffer( std::numeric_limits< TResult >::max( ) );
+  this->GetOutput( )->FillBuffer( TResult( 0 ) );
 }
 
 #endif // __FPA__IMAGE__DIJKSTRA__HXX__