Skip to content

Commit b3ba477

Browse files
committed
fix up
1 parent 9b9395e commit b3ba477

File tree

3 files changed

+158
-302
lines changed

3 files changed

+158
-302
lines changed

src/ProbProg.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ function generate(f::Function, args::Vararg{Any,Nargs}) where {Nargs}
6464
end
6565

6666
function sample(f::Function, args::Vararg{Any,Nargs}) where {Nargs}
67-
argprefix = gensym("samplearg")
68-
resprefix = gensym("sampleresult")
69-
resargprefix = gensym("sampleresarg")
67+
argprefix::Symbol = gensym("samplearg")
68+
resprefix::Symbol = gensym("sampleresult")
69+
resargprefix::Symbol = gensym("sampleresarg")
7070

7171
mlir_fn_res = TracedUtils.make_mlir_fn(
7272
f, args, (), string(f), false; argprefix, resprefix, resargprefix

0 commit comments

Comments
 (0)