From 07529baf889a10c25d473f35cdbdbd7a8d72789c Mon Sep 17 00:00:00 2001 From: Thiago Franco de Moraes Date: Fri, 4 Nov 2016 10:38:07 -0200 Subject: [PATCH] Compiling in Windows --- invesalius/data/cy_mesh.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invesalius/data/cy_mesh.pyx b/invesalius/data/cy_mesh.pyx index e3b4214..c89da9d 100644 --- a/invesalius/data/cy_mesh.pyx +++ b/invesalius/data/cy_mesh.pyx @@ -412,7 +412,7 @@ cdef void taubin_smooth(Mesh mesh, vector[weight_t]& weights, float l, float m, """ cdef int s, i, nvertices nvertices = mesh.vertices.shape[0] - cdef vector[Point] D = vector[Point](mesh.vertices.shape[0]) + cdef vector[Point] D = vector[Point](nvertices) cdef vertex_t* vi for s in xrange(steps): for i in prange(nvertices, nogil=True): -- libgit2 0.21.2