estimation: fixes to options statement
parent
9cf485d88e
commit
b3e2823c82
|
@ -1937,7 +1937,7 @@ OptionsStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidat
|
|||
void
|
||||
OptionsStatement::writeOutput(ostream &output, const string &basename) const
|
||||
{
|
||||
string lhs_field = ".options";
|
||||
string lhs_field = ".parameters.options";
|
||||
|
||||
writeOptionsIndex(output, lhs_field);
|
||||
output << "estimation_info" << lhs_field <<"_index(options_indx) = {'" << name << "'};" << endl
|
||||
|
|
|
@ -1358,7 +1358,7 @@ void
|
|||
ParsingDriver::set_std_options(string *name)
|
||||
{
|
||||
check_symbol_is_endogenous_or_exogenous(name);
|
||||
// mod_file->addStatement(new StdOptionsStatement(*name, options_list, mod_file->symbol_table));
|
||||
mod_file->addStatement(new StdOptionsStatement(*name, options_list, mod_file->symbol_table));
|
||||
options_list.clear();
|
||||
delete name;
|
||||
}
|
||||
|
@ -1382,7 +1382,7 @@ ParsingDriver::set_corr_options(string *name1, string *name2)
|
|||
{
|
||||
check_symbol_is_endogenous_or_exogenous(name1);
|
||||
check_symbol_is_endogenous_or_exogenous(name2);
|
||||
// mod_file->addStatement(new CorrOptionsStatement(*name1, *name2, options_list, mod_file->symbol_table));
|
||||
mod_file->addStatement(new CorrOptionsStatement(*name1, *name2, options_list, mod_file->symbol_table));
|
||||
options_list.clear();
|
||||
delete name1;
|
||||
delete name2;
|
||||
|
|
Loading…
Reference in New Issue