diff --git a/tbx/bear/BEARmain.m b/tbx/bear/BEARmain.m index e2bc632..5a606b6 100644 --- a/tbx/bear/BEARmain.m +++ b/tbx/bear/BEARmain.m @@ -326,7 +326,7 @@ function BEARmain(opts) % proceed similarly for exogenous series; note however that it may be empty % so check first whether there are exogenous variables altogether - if isempty(varexo==1) + if isempty(varexo) exo={}; % if not empty, repeat what has been done with the exogenous else