corrected use of constant flags method

This commit is contained in:
Paolo Cignoni 2012-11-07 15:43:38 +00:00
parent 1046deb107
commit 5e6d0fe221
1 changed files with 1 additions and 1 deletions

View File

@ -910,7 +910,7 @@ static void SetValency(VertexType *v, int n){
static int GetValency(const VertexType *v){
//return (int)(v->cQ());
return ( v->Flags() >> (VALENCY_FLAGS) ) & 255;
return ( v->cFlags() >> (VALENCY_FLAGS) ) & 255;
}
static void IncreaseValency(VertexType *v, int dv=1){