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

preprocessor: bug fix for writing of parameter values. Closes #1394

parent 96b35ff0
No related branches found
No related tags found
No related merge requests found
......@@ -66,8 +66,9 @@ InitParamStatement::writeJuliaOutput(ostream &output, const string &basename)
void
InitParamStatement::writeJsonOutput(ostream &output) const
{
deriv_node_temp_terms_t tef_terms;
output << "{\"statementName\": \"param_init\", \"name\": \"" << symbol_table.getName(symb_id) << "\", " << "\"value\": \"";
param_value->writeOutput(output);
param_value->writeJsonOutput(output, oMatlabOutsideModel, temporary_terms_t(), tef_terms);
output << "\"}";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment