From 7a39dd11f75864c0d13c2e6f7612213e8f5e36fd Mon Sep 17 00:00:00 2001 From: MarcoRianiUNIPR Date: Wed, 31 Jan 2024 00:04:56 +0100 Subject: [PATCH] Typo replaced in publishFunctionCate --- toolbox/utilities_help/publishFunctionCate.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolbox/utilities_help/publishFunctionCate.m b/toolbox/utilities_help/publishFunctionCate.m index 352329bfa..909a58d6f 100644 --- a/toolbox/utilities_help/publishFunctionCate.m +++ b/toolbox/utilities_help/publishFunctionCate.m @@ -197,14 +197,14 @@ assert(~isempty(ini),['Category: ' letterINI ' not found']) % pick the 2nd instance of the Category anchor because the 1st is in - % the navigation left panel + % the navigation left panel if strcmp(letterINI,'MULT-Categorical') ini=ini(1); else ini=ini(2); - assert(length(ini)==1,['Category: ' letterINI ' is duplicated']) + assert(isscalar(ini),['Category: ' letterINI ' is duplicated']) end