diff --git a/MeshLib/MeshEditing/FlipElements.cpp b/MeshLib/MeshEditing/FlipElements.cpp
index 159426bad8b0d16414a9fe3d62120ea5cb2bc631..7910712a09fc3fe27077a0df5788ec8f7e8db3e1 100644
--- a/MeshLib/MeshEditing/FlipElements.cpp
+++ b/MeshLib/MeshEditing/FlipElements.cpp
@@ -28,7 +28,7 @@ std::unique_ptr<MeshLib::Element> createFlippedElement(
     }
 
     unsigned const n_nodes(elem.getNumberOfNodes());
-    auto elem_nodes = std::make_unique<MeshLib::Node* []>(n_nodes);
+    auto elem_nodes = std::make_unique<MeshLib::Node*[]>(n_nodes);
     for (unsigned i = 0; i < n_nodes; ++i)
     {
         elem_nodes[i] = nodes[elem.getNode(i)->getID()];
@@ -61,10 +61,11 @@ std::unique_ptr<MeshLib::Mesh> createFlippedMesh(MeshLib::Mesh const& mesh)
         return nullptr;
     }
 
-    std::vector<MeshLib::Node*> new_nodes (MeshLib::copyNodeVector(mesh.getNodes()));
-    std::vector<MeshLib::Element*> const& elems (mesh.getElements());
+    std::vector<MeshLib::Node*> new_nodes(
+        MeshLib::copyNodeVector(mesh.getNodes()));
+    std::vector<MeshLib::Element*> const& elems(mesh.getElements());
     std::vector<MeshLib::Element*> new_elems;
-    std::size_t n_elems (mesh.getNumberOfElements());
+    std::size_t n_elems(mesh.getNumberOfElements());
     new_elems.reserve(n_elems);
 
     for (std::size_t i = 0; i < n_elems; ++i)
@@ -77,5 +78,4 @@ std::unique_ptr<MeshLib::Mesh> createFlippedMesh(MeshLib::Mesh const& mesh)
                                            new_elems, mesh.getProperties());
 }
 
-} // end namespace MeshLib
-
+}  // end namespace MeshLib
diff --git a/MeshLib/MeshEditing/FlipElements.h b/MeshLib/MeshEditing/FlipElements.h
index 003e7907f9f978a6ec9b1b36e35ec0924a5488b9..040d5383954f1715ad24a80d004a54692852c919 100644
--- a/MeshLib/MeshEditing/FlipElements.h
+++ b/MeshLib/MeshEditing/FlipElements.h
@@ -27,7 +27,8 @@ class Node;
  * @param nodes node vector used for the copy of the element
  * @return a flipped copy of the element
  */
-std::unique_ptr<MeshLib::Element> createFlippedElement(MeshLib::Element const& elem, std::vector<MeshLib::Node*> const& nodes);
+std::unique_ptr<MeshLib::Element> createFlippedElement(
+    MeshLib::Element const& elem, std::vector<MeshLib::Node*> const& nodes);
 
 /**
  * Creates a copy of a 1d / 2d mesh where the node order of all elements