pgRouting

Changeset 157

Show
Ignore:
Timestamp:
04/02/08 16:16:13 (8 months ago)
Author:
anton
Message:

iteration number check removed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/core/src/shooting_star_boost_wrapper.cpp

    r147 r157  
    368368 
    369369        path_vect.push_back(target_edge); 
    370  
     370         
     371        // This check was made to be sure that we can 
     372        // restore the path from the target edge within 
     373        // MAX_NODE iterations. 
     374        // Somehow it doesn't work properly and search exits here 
     375        // even if the target edge was reached. 
     376/* 
    371377        if (!max--)  
    372378          { 
    373             *err_msg = "Overflow"; 
    374             return -4
     379            *err_msg = "No path found"; 
     380            return -1
    375381          } 
     382*/         
    376383      } 
    377384