minor fix

This commit is contained in:
Mathieu Labbe
2015-02-06 16:01:49 -05:00
parent e3074d304c
commit 695b7005d0

View File

@@ -2295,7 +2295,7 @@ bool Rtabmap::computePath(
const std::map<int, Transform> & nodes,
const std::multimap<int, rtabmap::Link> & constraints)
{
if(_memory->getWorkingMem().size() <= 1 || !_memory->getLastWorkingSignature()) // ignore virtual place
if(!_memory->getLastWorkingSignature())
{
UWARN("Working memory is empty... cannot compute a path");
return false;