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
......@@ -685,6 +685,8 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool clear_glo
mOutputFile << "};" << endl;
}
mOutputFile << "M_.hessian_eq_zero = " << dynamic_model.checkHessianZero() << ";" << endl;
config_file.writeCluster(mOutputFile);
if (byte_code)
......
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