uncapitalize DYNARE in error messages

[skip ci]
time-shift
Houtan Bastani 2019-10-04 10:08:29 +02:00
parent 6702b5272d
commit 5592078269
No known key found for this signature in database
GPG Key ID: 000094FB955BE169
1 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ function [z,zss]=dyn2vec(M_, oo_, options_, s1, s2)
% along with Dynare. If not, see <http://www.gnu.org/licenses/>. % along with Dynare. If not, see <http://www.gnu.org/licenses/>.
if ~(nargin >= 3) if ~(nargin >= 3)
error('DYNARE dyn2vec error: function takes at least 3 arguments'); error('Dynare dyn2vec error: function takes at least 3 arguments');
end end
if options_.smpl == 0 if options_.smpl == 0
@ -43,7 +43,7 @@ end
if nargin == 3 if nargin == 3
if nargout > 0 if nargout > 0
t = ['DYNARE dyn2vec error: the function doesn''t return values when' ... t = ['Dynare dyn2vec error: the function doesn''t return values when' ...
' used without input argument']; ' used without input argument'];
error(t); error(t);
end end
@ -64,7 +64,7 @@ else
z = oo_.exo_simul(M_.maximum_lag+options_.smpl(1):M_.maximum_lag+options_.smpl(2)); z = oo_.exo_simul(M_.maximum_lag+options_.smpl(1):M_.maximum_lag+options_.smpl(2));
end end
else else
t = ['DYNARE dyn2vec error: variable ' deblank(s1(i,:)) ' doesn''t' ... t = ['Dynare dyn2vec error: variable ' deblank(s1(i,:)) ' doesn''t' ...
' exist.'] ; ' exist.'] ;
error (t) ; error (t) ;
end end