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

preprocessor: create field in M_ that is true when hessian is zero, false otherwise. closes #1335

parent a0cc3c0a
No related branches found
No related tags found
No related merge requests found
...@@ -685,6 +685,8 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool clear_glo ...@@ -685,6 +685,8 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool clear_glo
mOutputFile << "};" << endl; mOutputFile << "};" << endl;
} }
mOutputFile << "M_.hessian_eq_zero = " << dynamic_model.checkHessianZero() << ";" << endl;
config_file.writeCluster(mOutputFile); config_file.writeCluster(mOutputFile);
if (byte_code) if (byte_code)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment