trunk: fixed dsample command (was broken until now)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2301 ac1d8469-bf42-47a9-8791-bf33cf982152issue#70
parent
045e20e284
commit
e4555087df
|
@ -383,9 +383,9 @@ void
|
||||||
DsampleStatement::writeOutput(ostream &output, const string &basename) const
|
DsampleStatement::writeOutput(ostream &output, const string &basename) const
|
||||||
{
|
{
|
||||||
if (val2 < 0)
|
if (val2 < 0)
|
||||||
output << "options_.dsample = " << val1 << ";" << endl;
|
output << "dsample(" << val1 << ");" << endl;
|
||||||
else
|
else
|
||||||
output << "options_.dsample = [" << val1 << "; " << val2 << "];" << endl;
|
output << "dsample(" << val1 << ", " << val2 << ");" << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
VarobsStatement::VarobsStatement(const SymbolList &symbol_list_arg) :
|
VarobsStatement::VarobsStatement(const SymbolList &symbol_list_arg) :
|
||||||
|
|
Loading…
Reference in New Issue