From 4d6f2e9a40109422ad56c3d77bf7417a6f444543 Mon Sep 17 00:00:00 2001
From: JM Etancelin <jean-matthieu.metancelin@univ-pau.fr>
Date: Mon, 20 Jan 2025 16:14:14 +0100
Subject: [PATCH] fixup type mismatch

---
 hysop/iterative_method.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hysop/iterative_method.py b/hysop/iterative_method.py
index 4de24ce1e..e03e11bd7 100644
--- a/hysop/iterative_method.py
+++ b/hysop/iterative_method.py
@@ -185,7 +185,7 @@ class IterativeMethod(Problem):
             max_iter=self.max_iter,
             dt0=self.dt0,
             dt=self.dt,
-            t=ScalarParameter(name="dummy-t", dtype=HYSOP_REAL, quiet=True),
+            t=ScalarParameter(name="dummy-t", dtype=self.dt.dtype, quiet=True),
             mpi_params=self.mpi_params,
         )
         self.configsimu(loop, simulation)
-- 
GitLab