From 950b95f9d5f9a35e8e033dfdf6eadaf91211b7aa Mon Sep 17 00:00:00 2001 From: Luigi Malomo Date: Tue, 5 Dec 2017 18:27:17 +0100 Subject: [PATCH] minor fix --- vcg/complex/algorithms/curve_on_manifold.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/algorithms/curve_on_manifold.h b/vcg/complex/algorithms/curve_on_manifold.h index c791667e..713e5498 100644 --- a/vcg/complex/algorithms/curve_on_manifold.h +++ b/vcg/complex/algorithms/curve_on_manifold.h @@ -201,7 +201,7 @@ public: { VertexPointer v0 = FindVertexSnap(f0,ip0); VertexPointer v1 = FindVertexSnap(f1,ip1); - assert(v1>0 && v0>0 && v0!=v1); + assert(v1 != NULL && v1 != NULL && v0 != v1); FacePointer ff0,ff1; int e0,e1; ret &= face::FindSharedFaces(v0,v1,ff0,ff1,e0,e1);