From 252a67539bc77475f6c20b85cd902caf556d0b9f Mon Sep 17 00:00:00 2001 From: Luigi Malomo Date: Fri, 17 Jan 2020 10:51:15 +0100 Subject: [PATCH] removed useless check --- vcg/simplex/face/pos.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vcg/simplex/face/pos.h b/vcg/simplex/face/pos.h index 57163469..7715bd6e 100644 --- a/vcg/simplex/face/pos.h +++ b/vcg/simplex/face/pos.h @@ -198,10 +198,9 @@ public: assert(f->V(f->Prev(z))!=v && (f->V(f->Next(z))==v || f->V((z))==v)); FaceType *nf=f->FFp(z); int nz=f->FFi(z); - assert(nf->V(nf->Prev(nz))!=v && (nf->V(nf->Next(nz))==v || nf->V((nz))==v)); + assert(nf->V(nf->Prev(nz))!=v && (nf->V(nf->Next(nz))==v || nf->V(nz)==v)); f=nf; z=nz; - assert(f->V(f->Prev(z))!=v && (f->V(f->Next(z))==v || f->V(z)==v)); } /// Changes vertex maintaining the same face and the same edge