From feb10b75e6c21fb1e7fe54b20cbfd3f792ce4de0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Wed, 20 Jul 2022 16:19:46 +0200
Subject: [PATCH] Bytecode MEX: minor fix to debug mode

---
 mex/sources/bytecode/Evaluate.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mex/sources/bytecode/Evaluate.cc b/mex/sources/bytecode/Evaluate.cc
index 18b9507bb7..422de877e6 100644
--- a/mex/sources/bytecode/Evaluate.cc
+++ b/mex/sources/bytecode/Evaluate.cc
@@ -1031,7 +1031,7 @@ Evaluate::compute_block_time(int Per_u_, bool evaluate, bool no_derivative)
             int nb_add_input_arguments{fc->get_nb_add_input_arguments()};
             call_type = fc->get_call_type();
 #ifdef DEBUG
-            mexPrintf("call_type=%d ExternalFunctionCallTypeWithoutDerivative=%d\n", call_type, ExternalFunctionCallType::withoutDerivative);
+            mexPrintf("call_type=%d ExternalFunctionCallTypeWithoutDerivative=%d\n", call_type, ExternalFunctionCallType::levelWithoutDerivative);
             mexEvalString("drawnow;");
 #endif
             mxArray **input_arguments;
-- 
GitLab