]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Base/MinimumSpanningTree.hxx
I/O classes added
[FrontAlgorithms.git] / lib / fpa / Base / MinimumSpanningTree.hxx
index 6c9c790374fd401f8d5ea5f11532916376b90125..d932247c7bc2dcbc739e5902848da20879509bb5 100644 (file)
@@ -90,6 +90,7 @@ GetPath( std::vector< V >& path, const V& a, const V& b ) const
 
     } // elihw
     if( raIt != ap.rbegin( ) ) --raIt;
+    if( rbIt != bp.rbegin( ) ) --rbIt;
 
     // Add part from a
     typename std::vector< V >::const_iterator iaIt = ap.begin( );