Commit e4555087 authored by sebastien's avatar sebastien
Browse files

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
parent 045e20e2
......@@ -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) :
......
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