From 6a26d523432876fbc12574385358fb9a43233572 Mon Sep 17 00:00:00 2001 From: Manu Date: Wed, 27 Sep 2017 11:02:22 +0900 Subject: [PATCH] syntax differences (space) --- libsrc/meshing/python_mesh.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libsrc/meshing/python_mesh.cpp b/libsrc/meshing/python_mesh.cpp index f280ddac..316e68fe 100644 --- a/libsrc/meshing/python_mesh.cpp +++ b/libsrc/meshing/python_mesh.cpp @@ -213,13 +213,13 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m) (*instance)[i] = py::extract(vertices[i])(); instance->SetIndex(index); } - else if (py::len(vertices) == 5) - { - new (instance) Element(PYRAMID); - for (int i=0; i < 5; i++) - (*instance)[i] = py::extract(vertices[i])(); - instance->SetIndex(index); - } + else if (py::len(vertices) == 5) + { + new (instance) Element(PYRAMID); + for (int i = 0; i < 5; i++) + (*instance)[i] = py::extract(vertices[i])(); + instance->SetIndex(index); + } else if (py::len(vertices) == 6) { new (instance) Element(PRISM);