From 43190b001f6959afe624cd23878c498c827dd2ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Fri, 17 Mar 2023 18:19:03 +0100
Subject: [PATCH] Fix typo in commit 647ff5cd20b9e74c2a06e6eb19d51fc033e474c4

---
 matlab/aggregate.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/matlab/aggregate.m b/matlab/aggregate.m
index 0dc3c76ab4..d42d87383f 100644
--- a/matlab/aggregate.m
+++ b/matlab/aggregate.m
@@ -21,7 +21,7 @@ function aggregate(ofile, dynopt, rootfolder, varargin)
 
 MAX_NUMBER_OF_ELEMENTS = 10000;
 
-if ~isoctave && matlab_less_ver_than('9.14') % Warning removed in R2023a
+if ~isoctave && matlab_ver_less_than('9.14') % Warning removed in R2023a
     warning off MATLAB:subscripting:noSubscriptsSpecified
 end
 
@@ -320,7 +320,7 @@ end
 fprintf(fid, 'end;');
 fclose(fid);
 
-if ~isoctave && matlab_less_ver_than('9.14')
+if ~isoctave && matlab_ver_less_than('9.14')
     warning on MATLAB:subscripting:noSubscriptsSpecified
 end
 
-- 
GitLab