diff --git a/mex/sources/bytecode/Evaluate.cc b/mex/sources/bytecode/Evaluate.cc
index 18b9507bb7e36f579daca5c2ac001dbd0bbf32fe..422de877e6cb04f106660ac779609fdd80c426ed 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;