You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wrong values in j with complex values if "by" has more than 1 group. #3639
I understand that complex number support is not fully implemented (see this issue), but this is weird and, very serious, IMHO, because it can be a big source of silent errors.
changed the title [-]Wrong values in j with complex values if "by" has more than 1 variable.[/-][+]Wrong values in j with complex values if "by" has more than 1 group.[/+]on Jun 10, 2019
Activity
[-]Wrong values in j with complex values if "by" has more than 1 variable.[/-][+]Wrong values in j with complex values if "by" has more than 1 group.[/+]DavidArenburg commentedon Jun 17, 2019
Definitely looks like a bug. This doesn't happen with other classes.
MichaelChirico commentedon Jul 10, 2019
TIL
expand.gridcreates an attribute:MichaelChirico commentedon Jul 10, 2019
A workaround is to store real and imaginary parts separately:
`:=`(z_re = Re(z), z_im = Im(z))