sort the colors in the signature receveied from a factor
This commit is contained in:
parent
862e90a36b
commit
7c100c96bc
@ -237,6 +237,7 @@ CFactorGraph::getSignature (const FacNode* facNode)
|
||||
*it = getColor (neighs[i]);
|
||||
it ++;
|
||||
}
|
||||
sort (sign.colors.begin(), -- sign.colors.end());
|
||||
*it = getColor (facNode);
|
||||
return sign;
|
||||
}
|
||||
|
Reference in New Issue
Block a user