syntax differences (space)

This commit is contained in:
Manu 2017-09-27 11:02:22 +09:00
parent 02be12e58b
commit 6a26d52343

View File

@ -216,7 +216,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
else if (py::len(vertices) == 5) else if (py::len(vertices) == 5)
{ {
new (instance) Element(PYRAMID); new (instance) Element(PYRAMID);
for (int i=0; i < 5; i++) for (int i = 0; i < 5; i++)
(*instance)[i] = py::extract<PointIndex>(vertices[i])(); (*instance)[i] = py::extract<PointIndex>(vertices[i])();
instance->SetIndex(index); instance->SetIndex(index);
} }