dyn_waitbar_close.m: fix closing of waitbars under Octave

pac-components
Johannes Pfeifer 2021-09-16 10:40:00 +02:00
parent 001971bda6
commit 79ee6a5565
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ function dyn_waitbar_close(h)
% octave and when console_mode=1 % octave and when console_mode=1
% %
% Copyright (C) 2011-2017 Dynare Team % Copyright (C) 2011-2021 Dynare Team
% %
% This file is part of Dynare. % This file is part of Dynare.
% %
@ -22,7 +22,7 @@ function dyn_waitbar_close(h)
% along with Dynare. If not, see <https://www.gnu.org/licenses/>. % along with Dynare. If not, see <https://www.gnu.org/licenses/>.
global options_ global options_
if isoctave || options_.console_mode if options_.console_mode
clear dyn_waitbar; clear dyn_waitbar;
diary on diary on
fprintf('\n'); fprintf('\n');