Menu

#12 Bug in nf_NSNS (matcont) + fix

v1.0_(example)
open
nobody
None
5
2017-12-16
2017-12-16
No

When in MatCont a NSNS bifurcation was found I got the following error:
Error using rearr
Too many output arguments.
Error in nf_NSNS (line 12)

It is simply fixed by copying the local rearr function from for instance nf_PDNS to nf_NSNS:

function [x,p,T] = rearr(x0)
% [x,p] = rearr(x0)
% Rearranges x0 into coordinates (x) and parameters (p)
global lds

p = lds.P0;
p(lds.ActiveParams) = x0(lds.PeriodIdx+1:lds.PeriodIdx+2);
x = x0(lds.coords);
T = x0(lds.PeriodIdx);

Best wishes

Egbert

Discussion


Log in to post a comment.

Monday.com Logo