On line 627 of lambert.m, should r1vec be listed as an argument twice? It seems like the third argument to minmax_distances should instead be r2vec.
Current Code
extremal_distances = minmax_distances(r1vec, r1, r1vec, r2, dth, a, V1, V2, m, muC);
Proposed
extremal_distances = minmax_distances(r1vec, r1, r2vec, r2, dth, a, V1, V2, m, muC);
Also, for your awareness, I've ported these functions to Julia over here. I followed the instructions in the BSD license listed to properly show credit, etc. Please let me know if you have any questions.
Thanks!
On line 627 of
lambert.m, shouldr1vecbe listed as an argument twice? It seems like the third argument tominmax_distancesshould instead ber2vec.Current Code
Proposed
Also, for your awareness, I've ported these functions to Julia over here. I followed the instructions in the
BSDlicense listed to properly show credit, etc. Please let me know if you have any questions.Thanks!