diff --git a/dart/src/wAdjoint.cpp b/dart/src/wAdjoint.cpp
index 8b2200863760d463e5916d5efeb2b4cf7b6e4fba..70232199447d4283bb595e328283e87c6bac76eb 100644
--- a/dart/src/wAdjoint.cpp
+++ b/dart/src/wAdjoint.cpp
@@ -62,7 +62,7 @@ Adjoint::Adjoint(std::shared_ptr<Newton> _sol, std::shared_ptr<tbox::MshDeform>
     if (sol->linsol->type() == LSOLTYPE::GMRES_ILUT)
     {
         // Use the same GMRES, but with a thighter tolerance
-        std::shared_ptr<Gmres> gmres = std::make_shared<Gmres>(*dynamic_cast<Gmres*>(sol->linsol.get()));
+        std::shared_ptr<Gmres> gmres = std::make_shared<Gmres>(*dynamic_cast<Gmres *>(sol->linsol.get()));
         gmres->setTolerance(1e-8);
         alinsol = gmres;
     }