Commit 1d6d9481 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

bug fix: nonstationary vars and tex names

parent c2dc34c7
......@@ -315,7 +315,10 @@ ParsingDriver::add_expression_variable(string *name)
ParsingDriver::declare_nonstationary_var(string *name, string *tex_name)
declare_endogenous(new string(*name), tex_name);
if (tex_name != NULL)
declare_endogenous(new string(*name), new string(*tex_name));
declare_endogenous(new string(*name), tex_name);
mod_file->nonstationary_variables = true;
delete name;
Supports Markdown
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