Skip to content

Commit

Permalink
Fix inverted logic for crawler cache
Browse files Browse the repository at this point in the history
The test if the search paths have changed inside
Rosstackage::crawl() could never return true.
  • Loading branch information
roehling committed Feb 22, 2013
1 parent 982607a commit 6a64de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rospack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Rosstackage::crawl(std::vector<std::string> search_path,
if(crawled_)
{
bool same_paths = true;
if(search_paths_.size() == search_path.size())
if(search_paths_.size() != search_path.size())
same_paths = false;
else
{
Expand Down

0 comments on commit 6a64de1

Please # to comment.