elliptic icon indicating copy to clipboard operation
elliptic copied to clipboard

empty input for elliptic123(phi,m)

Open tangjinchuan opened this issue 6 years ago • 1 comments

Dear Vigor,

Could you please add the empty returns (with the same empty size as the input) when calling elliptic123 with two empty inputs? The current version of the code gives the following:

aa= zeros(1,0); [r1 r2]=elliptic123(aa,aa) Output argument "F" (and maybe others) not assigned during call to "elliptic123>elliptic12x". Error in elliptic123

It would be very nice to get r1==r2==aa in some vectorization operations since aa could be an empty array.

Thank you very much!

Best wishes, Jinchuan

tangjinchuan avatar May 21 '18 15:05 tangjinchuan

Yeap, I'll try to do it.

moiseevigor avatar May 28 '18 13:05 moiseevigor