Unverified Commit 48488e6e authored by Sébastien Villemot's avatar Sébastien Villemot Committed by GitHub

Merge pull request #1618 from JohannesPfeifer/Identification_message

Correct display of identification message if parameters are only coll…
parents 6f777f61 b8094a2e
......@@ -84,7 +84,11 @@ end
disp([' ']),
if any(idemodel.ino)
no_warning_message_display=1;
if any(idemodel.ino) || any(any(idemodel.ind0==0)) || any(idemodel.jweak_pair)
no_warning_message_display=0;
disp('WARNING !!!')
if SampleSize>1
disp(['The rank of H (model) is deficient for ', num2str(length(find(idemodel.ino))),' out of ',int2str(SampleSize),' MC runs!' ]),
......@@ -152,12 +156,15 @@ if any(idemodel.ino)
% end
end
if ~any(idemodel.ino) && ~any(any(idemodel.ind0==0))
if no_warning_message_display
disp(['All parameters are identified in the model (rank of H).' ]),
skipline()
end
if any(idemoments.ino)
no_warning_message_display = 1;
if any(idemoments.ino) || any(any(idemoments.ind0==0)) || any(idemoments.jweak_pair)
no_warning_message_display = 0;
skipline()
disp('WARNING !!!')
if SampleSize > 1
......@@ -234,7 +241,7 @@ if any(idemoments.ino)
% end
% end
end
if ~any(idemoments.ino) && ~any(any(idemoments.ind0==0))
if no_warning_message_display
skipline()
disp(['All parameters are identified by J moments (rank of J)' ]),
skipline()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment