From dbde8294cd8a58907fdcb7cc100100d175b4c203 Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Tue, 28 Jun 2022 09:43:46 +0200
Subject: [PATCH] disp_identification.m: account for non-boolean indicator

Related https://git.dynare.org/Dynare/dynare/-/issues/1860
---
 matlab/disp_identification.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/disp_identification.m b/matlab/disp_identification.m
index 8caddd1dd0..276baeb8c5 100644
--- a/matlab/disp_identification.m
+++ b/matlab/disp_identification.m
@@ -160,7 +160,7 @@ for jide = 1:4
                         disp(['    The rank of ', strJacobian, ' (', strMeaning, ') is deficient for ', num2str(sum(ide.ino & ide.minimal_state_space)),' out of ',int2str(EffectiveSampleSize),' effective MC runs!'  ])
                         end
                     else
-                        disp(['    The rank of ', strJacobian, ' (', strMeaning, ') is deficient for ', num2str(sum(ide.ino)),' out of ',int2str(EffectiveSampleSize),' effective MC runs!'  ]),
+                        disp(['    The rank of ', strJacobian, ' (', strMeaning, ') is deficient for ', num2str(sum(ide.ino~=0)),' out of ',int2str(EffectiveSampleSize),' effective MC runs!'  ]),
                     end
                 else
                     disp(['    The rank of ', strJacobian, ' (', strMeaning, ') is deficient!']),
-- 
GitLab