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
While ForwardDiff.jl recommends that functions accept generic Vector, StatsBase.jl specializes functions to RealArray, making them unusable with ForwardDiff.jl (eg mean_and_var, etc).
I would be happy to contribute a PR, but I am wondering what the preferred solution would be, eg
extend RealArray to a union with types that ForwardDiff.jl would use,
replace RealArray with Vector
The text was updated successfully, but these errors were encountered:
While ForwardDiff.jl recommends that functions accept generic
Vector
,StatsBase.jl
specializes functions toRealArray
, making them unusable withForwardDiff.jl
(egmean_and_var
, etc).I would be happy to contribute a PR, but I am wondering what the preferred solution would be, eg
RealArray
to a union with types thatForwardDiff.jl
would use,RealArray
withVector
The text was updated successfully, but these errors were encountered: