We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 924d6cb commit bf65928Copy full SHA for bf65928
src/modeling_library/dist_dsl/dist_dsl.jl
@@ -33,6 +33,7 @@ eval_arg(x::TransformedArg, args) =
33
34
# Type of SimpleArg must match arg, otherwise a MethodError will be thrown
35
typecheck_arg(x::SimpleArg{T}, arg::T) where {T} = arg
36
+typecheck_arg(x::SimpleArg{T}, arg::ReverseDiff.TrackedReal{T}) where {T <: Real} = arg
37
38
# DistWithArgs
39
struct DistWithArgs{T}
0 commit comments