Skip to content

Commit

Permalink
index bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Brig Bagley committed Jul 2, 2015
1 parent da8f81e commit 28beafe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/Segmentation/SegmentationTools.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ namespace SegmentationTools {
#endif
std::string tmp(str);
tmp = tmp.substr(0,tmp.find_last_of("/"));
if ((tmp.substr(tmp.size()-9,8) == "/Release") ||
(tmp.substr(tmp.size()-7,6) == "/Debug"))
if ((tmp.substr(tmp.size()-8,8) == "/Release") ||
(tmp.substr(tmp.size()-6,6) == "/Debug"))
tmp = tmp.substr(0,tmp.find_last_of("/"));
return tmp;
}
Expand Down

0 comments on commit 28beafe

Please sign in to comment.