From b260d911ab3f2ca243b0d6bb44c8b951644544d0 Mon Sep 17 00:00:00 2001
From: Lennart Schulze <lschulze@sbalzarini-mac-44.mpi-cbg.de>
Date: Wed, 17 Jan 2024 16:24:10 +0100
Subject: [PATCH] Temporarily disable Mumps on M2/Clang

---
 src/Solvers/petsc_solver.hpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/Solvers/petsc_solver.hpp b/src/Solvers/petsc_solver.hpp
index 6bb051f3..9e5f762d 100644
--- a/src/Solvers/petsc_solver.hpp
+++ b/src/Solvers/petsc_solver.hpp
@@ -1462,7 +1462,8 @@ public:
      */
     Vector<double,PETSC_BASE> with_nullspace_solve(SparseMatrix<double,int,PETSC_BASE> & A, const Vector<double,PETSC_BASE> & b, bool initial_guess = false,bool symmetric = false)
     {
-        Mat & A_ = A.getMat();
+#ifndef __arm64__
+	Mat & A_ = A.getMat();
         const Vec & b_ = b.getVec();
 
         // We set the size of x according to the Matrix A
@@ -1523,6 +1524,7 @@ public:
         x.update();
 
         return x;
+#endif
     }
 
 	/*! \brief Return the KSP solver
-- 
GitLab