From 340a9fb5d0bde0af144d068a94a9be56932f6686 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien.villemot@ens.fr>
Date: Wed, 21 Dec 2011 18:37:45 +0100
Subject: [PATCH] Initialize empirical simulations with information provided in
 histval

Closes: #195, #157
---
 ComputingTasks.cc | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/ComputingTasks.cc b/ComputingTasks.cc
index dcd000d4..4cc96f96 100644
--- a/ComputingTasks.cc
+++ b/ComputingTasks.cc
@@ -135,15 +135,6 @@ StochSimulStatement::checkPass(ModFileStructure &mod_file_struct)
       cerr << "ERROR: in 'stoch_simul', you cannot use option 'pruning' with 'k_order_solver' option or with 3rd order approximation" << endl;
       exit(EXIT_FAILURE);
     }
-
-  // Workaround for ticket #157
-  it = options_list.num_options.find("periods");
-  if (it != options_list.num_options.end() && atoi(it->second.c_str()) > 0
-      && mod_file_struct.histval_present)
-    {
-      cerr << "ERROR: the 'periods' option of 'stoch_simul' is not compatible with a 'histval' block" << endl;
-      exit(EXIT_FAILURE);
-    }
 }
 
 void
-- 
GitLab