Commit 73218bd8 authored by Marco Ratto's avatar Marco Ratto
Browse files

bug fix to properly trap different reasons why unique solution is not obtained

parent 012c1743
......@@ -262,11 +262,14 @@ if fload==0,
T=zeros(size(dr_.ghx,1),size(dr_.ghx,2)+size(dr_.ghu,2),Nsam);
egg=zeros(length(dr_.eigval),Nsam);
end
if infox{j},
if infox{j}(1),
% disp('no solution'),
if isfield(oo_.dr,'ghx'),
oo_.dr=rmfield(oo_.dr,'ghx');
end
if (infox{j}(1)<3 || infox{j}(1)>5) && isfield(oo_.dr,'eigval'),
oo_.dr=rmfield(oo_.dr,'eigval');
end
end
catch
if isfield(oo_.dr,'eigval'),
......
Supports Markdown
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