Skip to content
Snippets Groups Projects
Commit 7a068b7e authored by Johannes Pfeifer's avatar Johannes Pfeifer Committed by Sébastien Villemot
Browse files

Correct display of identification message if parameters are only collinear

Closes #1614

(cherry picked from commit b8094a2e)
parent a670a890
Branches
Tags
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment