From 36adba84e73c765863578477a5200c93bb1428e0 Mon Sep 17 00:00:00 2001
From: Pierre-Antoine Rouby <pierre-antoine.rouby@inrae.fr>
Date: Wed, 20 Sep 2023 17:24:10 +0200
Subject: [PATCH] config: Fix arguments in default mage solver.

---
 src/config.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/config.py b/src/config.py
index c7db1cdc..b3ddf6b4 100644
--- a/src/config.py
+++ b/src/config.py
@@ -101,7 +101,7 @@ class Config(SQL):
                         '', '', '',
 
                         '',
-                        '@install_dir/mage/mage{"" if posix else ".exe"} -fp=1 @input',
+                        '@install_dir/mage/mage{"" if posix else ".exe"} @args @input',
                         ''
                       )
                     """)
@@ -266,7 +266,7 @@ class Config(SQL):
         ctor = solver_type_list["mage8"]
         new = ctor("default-mage")
         new._description = "Default Pamhyr2 mage 8 version"
-        new._cmd_solver = f""""@install_dir/mage/mage{"" if posix else ".exe"}" -fp=1 @input"""
+        new._cmd_solver = f""""@install_dir/mage/mage{"" if posix else ".exe"}" @args @input"""
         self._solvers.append(new)
 
         # Meshing tool
-- 
GitLab