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
>=> -f_to_f64(1.0)
> Type error: can't synthesize a class dictionary for: (VSpace Float64)
This appears to be because there are no Float64 literals and unary - falls back to calling neg, which is only defined for VSpace, and there is no VSpace instance for Float64. I think this should be fixable by defining
instance VSpace(Float64)
def (.*)(x, y) = x * y
alongside the current instance for Float (AKA Float32).
The text was updated successfully, but these errors were encountered:
This appears to be because there are no
Float64
literals and unary-
falls back to callingneg
, which is only defined forVSpace
, and there is noVSpace
instance forFloat64
. I think this should be fixable by definingalongside the current instance for
Float
(AKAFloat32
).The text was updated successfully, but these errors were encountered: