From 3e87a393d0448e4e4b3e8d582bd165f749bb827d Mon Sep 17 00:00:00 2001 From: Edu Benet Cerda Date: Mon, 16 Dec 2024 18:22:36 +0000 Subject: [PATCH] minor fix in BEARmain --- tbx/bear/BEARmain.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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