resid: Fix display of name tags with Ramsey equations

fix-nonlinear-solvers
Johannes Pfeifer 2022-04-04 22:50:16 +02:00
parent 700a0e3a6d
commit a5fe22bd1c
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ if nargout == 0
any_non_zero_residual = true;
end
if istag
tg = tags(cell2mat(tags(:,1)) == i,2:3); % all tags for equation i
tg = tags(cell2mat(tags(:,1)) == i+M_.ramsey_eq_nbr,2:3); % all tags for equation i
ind = strmatch('name', cellstr( tg(:,1) ) );
end
if ~(non_zero && tmp == 0)