From a71edd5485ff5c937f45d6301f409c75d6796f8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?=
 <stephane.adjemian@univ-lemans.fr>
Date: Thu, 12 Sep 2013 13:52:24 +0200
Subject: [PATCH] Removed test on datafile option. This option is no more
 mandatory

---
 preprocessor/ComputingTasks.cc | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/preprocessor/ComputingTasks.cc b/preprocessor/ComputingTasks.cc
index 50922be896..e511dbde82 100644
--- a/preprocessor/ComputingTasks.cc
+++ b/preprocessor/ComputingTasks.cc
@@ -337,13 +337,6 @@ EstimationStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsoli
       cerr << "ERROR: An estimation statement cannot take more than one dsge_var option." << endl;
       exit(EXIT_FAILURE);
     }
-
-  if (options_list.string_options.find("datafile") == options_list.string_options.end() &&
-      !mod_file_struct.estimation_data_statement_present)
-    {
-      cerr << "ERROR: The estimation statement requires a data file to be supplied via the datafile option." << endl;
-      exit(EXIT_FAILURE);
-    }
 }
 
 void
-- 
GitLab