identication.checks.m: remove wrong condition

new-samplers
Johannes Pfeifer 2023-12-11 13:16:39 +01:00
parent daecd1f720
commit 021b9dbb25
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ end
jweak = zeros(1,param_nbr);
jweak_pair = zeros(param_nbr,param_nbr);
if test_flag ~= 0 || test_flag ~= 0
if test_flag ~= 0
% these tests only apply to Jacobians, not to Gram matrices, i.e. Hessian-type or 'covariance' matrices
Pco = NaN(param_nbr,param_nbr);
for ii = 1:size(Xparnonzero,2)