trunk: fixed dsample command (was broken until now)

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2301 ac1d8469-bf42-47a9-8791-bf33cf982152
issue#70
sebastien 2008-12-08 16:19:59 +00:00
parent 045e20e284
commit e4555087df
1 changed files with 2 additions and 2 deletions

View File

@ -383,9 +383,9 @@ void
DsampleStatement::writeOutput(ostream &output, const string &basename) const
{
if (val2 < 0)
output << "options_.dsample = " << val1 << ";" << endl;
output << "dsample(" << val1 << ");" << endl;
else
output << "options_.dsample = [" << val1 << "; " << val2 << "];" << endl;
output << "dsample(" << val1 << ", " << val2 << ");" << endl;
}
VarobsStatement::VarobsStatement(const SymbolList &symbol_list_arg) :