From e4555087df02267c555f574958e137a3643b6a2d Mon Sep 17 00:00:00 2001
From: sebastien <sebastien@ac1d8469-bf42-47a9-8791-bf33cf982152>
Date: Mon, 8 Dec 2008 16:19:59 +0000
Subject: [PATCH] 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
---
 ComputingTasks.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ComputingTasks.cc b/ComputingTasks.cc
index a56f953e..51d907f5 100644
--- a/ComputingTasks.cc
+++ b/ComputingTasks.cc
@@ -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) :
-- 
GitLab