FEM: PR6497 move return statement to new line

This commit is contained in:
Chris Hennes
2022-03-29 12:35:58 -05:00
parent b13088664f
commit bb0e2f1c51
2 changed files with 16 additions and 8 deletions

View File

@@ -85,7 +85,8 @@ int FemMeshPy::PyInit(PyObject* args, PyObject* /*kwd*/)
try {
// if no mesh is given
if (!pcObj) return 0;
if (!pcObj)
return 0;
if (PyObject_TypeCheck(pcObj, &(FemMeshPy::Type))) {
getFemMeshPtr()->operator= (*static_cast<FemMeshPy*>(pcObj)->getFemMeshPtr());
}