[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2025-06-16 18:26:48 +00:00
parent fa9aba2749
commit da4d5c919f
35 changed files with 447 additions and 348 deletions

View File

@@ -30,9 +30,9 @@
#include "FemPostObjectPy.cpp"
#ifdef FC_USE_VTK_PYTHON
#include <vtkDataSet.h>
#include <vtkPythonUtil.h>
#endif //BUILD_FEM_VTK
#include <vtkDataSet.h>
#include <vtkPythonUtil.h>
#endif // BUILD_FEM_VTK
using namespace Fem;
@@ -71,7 +71,7 @@ PyObject* FemPostObjectPy::getDataSet(PyObject* args)
auto dataset = getFemPostObjectPtr()->getDataSet();
if (dataset) {
PyObject* py_algorithm = vtkPythonUtil::GetObjectFromPointer(dataset);
return Py::new_reference_to(py_algorithm);
return Py::new_reference_to(py_algorithm);
}
return Py_None;
#else