From 91825d4b5b242be21f8c85c0db0b92051c10738b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Argos=29?= Date: Fri, 21 Jul 2023 15:35:14 +0200 Subject: [PATCH] Fix cherrypick routine with max and min functions in model block. --- matlab/get_variables_and_parameters_in_expression.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/get_variables_and_parameters_in_expression.m b/matlab/get_variables_and_parameters_in_expression.m index 11994427c..bed3b5ac9 100644 --- a/matlab/get_variables_and_parameters_in_expression.m +++ b/matlab/get_variables_and_parameters_in_expression.m @@ -45,4 +45,4 @@ objects(cellfun(@(x) all(isempty(x)), objects)) = []; function o = splitexpr(expr) -o = strsplit(expr, {'+','-','*','/','^', '(', ')', '\n', '\t', ' '}); \ No newline at end of file +o = strsplit(expr, {'+','-','*','/','^', '(', ')', ',', '\n', '\t', ' '});