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