The function declaration
@gen function bar()
@trace(bernoulli(0.5), :x)
@trace(foo())
end
clashes with PyPlot.bar imported earlier. When running the notebook in sequence this will result in the error
cannot assign a value to variable PyPlot.bar from module Main
Any renaming of the function to a name that is not yet taken should solve this issue (tested with name bar2).
The function declaration
clashes with PyPlot.bar imported earlier. When running the notebook in sequence this will result in the error
Any renaming of the function to a name that is not yet taken should solve this issue (tested with name
bar2).