v4 preprocessor: corrected bug with initval_file

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1793 ac1d8469-bf42-47a9-8791-bf33cf982152
issue#70
michel 2008-04-11 19:24:19 +00:00
parent f0cefe8081
commit b3ea9772cf
1 changed files with 2 additions and 2 deletions

View File

@ -307,8 +307,8 @@ ParsingDriver::init_val(string *name, NodeID rhs)
void
ParsingDriver::init_val_filename(string *filename)
{
options_list.num_options["INITVAL_FILE"] = 1;
options_list.string_options["INITVAL_FILENAME"] = *filename;
options_list.num_options["initval_file"] = "1";
options_list.string_options["initval_filename"] = *filename;
delete filename;
}