From 0068f9f6b6963bee6bc440147fadbcbe0cb497a8 Mon Sep 17 00:00:00 2001
From: Michel Juillard <michel@michel-zen3.home>
Date: Sun, 8 Oct 2017 12:39:54 +0200
Subject: [PATCH] fix another bug in complementarity constraints with ramsey
 problem

(cherry picked from commit b1fc34ef991ff9aff3177f2f1dcf97db7e80d8fe)
---
 matlab/lmmcp/get_complementarity_conditions.m | 1 -
 1 file changed, 1 deletion(-)

diff --git a/matlab/lmmcp/get_complementarity_conditions.m b/matlab/lmmcp/get_complementarity_conditions.m
index cbfa01092..8459c0514 100644
--- a/matlab/lmmcp/get_complementarity_conditions.m
+++ b/matlab/lmmcp/get_complementarity_conditions.m
@@ -44,7 +44,6 @@ if ramsey_policy
               otherwise
                 error('Wrong operator in get_complementarity_conditions')
             end
-            eq_index(i) = 1;
         end
     end
 end
-- 
GitLab