diff --git a/matlab/lmmcp/get_complementarity_conditions.m b/matlab/lmmcp/get_complementarity_conditions.m
index cbfa01092ddf968b0c4ec371c800de7e73643fb9..8459c05141d7bef04f70414718e45998dc55b401 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