Commit 9b166fdb authored by Sébastien Villemot's avatar Sébastien Villemot

NaN parameters warning: remove \n, it is not interpreted in a warning context...

NaN parameters warning: remove \n, it is not interpreted in a warning context (at least under Octave)
parent 8b9d0e91
......@@ -40,8 +40,8 @@ if ~isempty(plist)
end
end
tmp = dbstack;
message = [message, ' when using ' tmp(2).name '.\n'];
message = [message, 'If these parameters are not initialized in a steadystate file, Dynare may not be able to solve the model...\n\n'];
message = [message, ' when using ' tmp(2).name '. '];
message = [message, 'If these parameters are not initialized in a steadystate file, Dynare may not be able to solve the model...'];
message_id = 'Dynare:ParameterCalibration:NaNValues';
warning(message_id,message);
end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment