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
It makes sense technically, but it also means that the above example will fail: reinterpret works on the dual data structure, which is unusual (most operations apply to the primal variable). Is there any use for reinterpreting a dual in this way?
There are many other cases like this. For example, eltype on a Vector{Dual{Float64}} will return Dual{Float64}. Or typeof of a dual number. At some point you have to be able to talk about the actual program that is running.
The text was updated successfully, but these errors were encountered: