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

time-shift
Houtan Bastani 2016-11-14 12:30:52 +01:00
parent 89e0a84327
commit 3e9894028a
1 changed files with 2 additions and 0 deletions

View File

@ -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)