From db0d9290b5ced279bdbf37c33d53a7fb269b8ac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Tue, 5 Jul 2022 14:10:34 +0200
Subject: [PATCH] Bytecode: remove hack for exogenous deterministic index

The support in the bytecode MEX was broken anyways.
---
 src/ExprNode.cc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/ExprNode.cc b/src/ExprNode.cc
index 78ac014c..6f69cbb0 100644
--- a/src/ExprNode.cc
+++ b/src/ExprNode.cc
@@ -1299,8 +1299,6 @@ VariableNode::writeBytecodeOutput(BytecodeWriter &code_file, bool assignment_lhs
   else
     {
       int tsid = datatree.symbol_table.getTypeSpecificID(symb_id);
-      if (type == SymbolType::exogenousDet)
-        tsid += datatree.symbol_table.exo_nbr();
       if (!assignment_lhs)
         {
           if (dynamic)
-- 
GitLab