Skip to content
Snippets Groups Projects
Verified Commit 55920782 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

uncapitalize DYNARE in error messages

[skip ci]
parent 6702b527
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ function [z,zss]=dyn2vec(M_, oo_, options_, s1, s2) ...@@ -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 ...@@ -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 ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment