Similarity value, shown even if there is no merge

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@739 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2013-01-15 17:14:33 +00:00
parent dc1b29f17b
commit 1836f39304

View File

@@ -1642,13 +1642,12 @@ void Memory::rehearsal(Signature * signature, std::map<std::string, float> & sta
{
float value = iter->second;
id = iter->first;
if(maxSim<=value)
{
maxSim = value;
}
if(value >= _similarityThreshold)
{
if(maxSim<=value)
{
maxSim = value;
}
if(_incrementalMemory)
{
merged.push_back(id);