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
To get from real to complex, you must go through some function, and its gradient shouldn't really let a Tangent of the wrong type for the arguments propagate backwards.
I guess if you take the stance that the Tangent{Complex}(;re=1.0) is always a wrong thing to return, and it should just be the natural differential, then the example is invalid and I can't think of a reasonable example.
At present:
whereas I think we want
The solution would be to change the current
to
which would also fix e.g.
ProjectTo(π)(tc)
.The text was updated successfully, but these errors were encountered: