From 4771a03d6fba383795db82c785c89f03c75161b4 Mon Sep 17 00:00:00 2001 From: Alexander Meyer-Gohde <meyer-gohde@econ.uni-frankfurt.de> Date: Fri, 15 Nov 2019 08:30:31 +0000 Subject: [PATCH] Update ComputingTasks.cc Exit_Failure when order>2 in the preprocessor forces painful hardcoding in order to test third order based estimation routines. There are plenty of stops in the matlab code to prevent accidental attempts at higher order estimation --- src/ComputingTasks.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ComputingTasks.cc b/src/ComputingTasks.cc index 7a3f51b0..f787004e 100644 --- a/src/ComputingTasks.cc +++ b/src/ComputingTasks.cc @@ -1103,9 +1103,9 @@ EstimationStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsoli { int order = stoi(it->second); - if (order > 2) + if (order > 3) { - cerr << "ERROR: order > 2 is not supported in estimation" << endl; + cerr << "ERROR: order > 3 is not supported in estimation" << endl; exit(EXIT_FAILURE); } -- GitLab