From 6235e6907526d468e2c35f14c38db1e308698bc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Thu, 19 Oct 2023 14:09:05 -0400
Subject: [PATCH] No longer forbid bytecode with k_order_solver

The two are now compatible, even though the bytecode representation will not be
used.
---
 src/ModFile.cc | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/ModFile.cc b/src/ModFile.cc
index ab261c46..586b0284 100644
--- a/src/ModFile.cc
+++ b/src/ModFile.cc
@@ -186,12 +186,6 @@ ModFile::checkPass(bool nostrict, bool stochastic)
       exit(EXIT_FAILURE);
     }
 
-  if (mod_file_struct.k_order_solver && bytecode)
-    {
-      cerr << "ERROR: 'k_order_solver' (which is implicit if order >= 3), is not yet compatible with 'bytecode'." << endl;
-      exit(EXIT_FAILURE);
-    }
-
   if (use_dll && bytecode)
     {
       cerr << "ERROR: In 'model' block, 'use_dll' option is not compatible with 'bytecode'" << endl;
-- 
GitLab