We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6c2c0a commit 9b9395eCopy full SHA for 9b9395e
src/ProbProg.jl
@@ -11,7 +11,7 @@ function generate(f::Function, args::Vararg{Any,Nargs}) where {Nargs}
11
resargprefix::Symbol = gensym("generateresarg")
12
13
mlir_fn_res = TracedUtils.make_mlir_fn(
14
- f, args, (), string(f) * "_generate", false; argprefix, resprefix, resargprefix
+ f, args, (), string(f), false; argprefix, resprefix, resargprefix
15
)
16
(; result, linear_args, in_tys, linear_results) = mlir_fn_res
17
fnwrap = mlir_fn_res.fnwrapped
@@ -69,7 +69,7 @@ function sample(f::Function, args::Vararg{Any,Nargs}) where {Nargs}
69
resargprefix = gensym("sampleresarg")
70
71
72
- f, args, (), string(f) * "_sample", false; argprefix, resprefix, resargprefix
73
74
75
0 commit comments