sort the colors in the signature receveied from a factor (add std namespace)

This commit is contained in:
Tiago Gomes 2012-04-18 19:29:43 +01:00
parent 7c100c96bc
commit cd1e157019

View File

@ -237,7 +237,7 @@ CFactorGraph::getSignature (const FacNode* facNode)
*it = getColor (neighs[i]);
it ++;
}
sort (sign.colors.begin(), -- sign.colors.end());
std::sort (sign.colors.begin(), -- sign.colors.end());
*it = getColor (facNode);
return sign;
}