From 28022e553019557e19f6df9900d08d027ac2ac98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Thu, 12 Sep 2013 13:52:24 +0200 Subject: [PATCH] Removed test on datafile option. This option is no more mandatory --- ComputingTasks.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ComputingTasks.cc b/ComputingTasks.cc index 50922be8..e511dbde 100644 --- a/ComputingTasks.cc +++ b/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