Skip to content

Commit

Permalink
Fix issue moiseevigor#23 nonformant arguments in ellipj
Browse files Browse the repository at this point in the history
I made no attempt to figure out the origin of this bug and so there
may be a "cleaner" fix.  However, this fix does the job.
  • Loading branch information
cffk committed Oct 18, 2023
1 parent 2b1bb98 commit bd8a3b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ellipj.m
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@

mmax = length(I);
phin = zeros(1,mmax);
phin(:) = (2 .^ double(n(K))).*a(i,K).*u(I);
phin(:) = (2 .^ double(n(K)')).*a(i,K).*u(I);
while i > 1
i = i - 1;
in = uint32( find(n(K) >= i) );
Expand Down

0 comments on commit bd8a3b4

Please sign in to comment.