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
There is an issue when we are passing StaticInt to randn (See below stack trace), the fix could be multiplying with 1. I am pushing a patch for the same, kindly let me know if that fix is good enough. I am able to run the example with that change.
julia> p =randn(SimpleChains.numparam(schain))
ERROR: MethodError: no method matching randn(::Static.StaticInt{216})
Closest candidates are:randn() at /usr/local/bin/julia-1.7.3/share/julia/stdlib/v1.7/Random/src/normal.jl:38randn(::Integer...) at /usr/local/bin/julia-1.7.3/share/julia/stdlib/v1.7/Random/src/normal.jl:244randn(::Tuple{Vararg{Int64, N}}where N) at /usr/local/bin/julia-1.7.3/share/julia/stdlib/v1.7/Random/src/normal.jl:243...
Stacktrace:
[1] top-level scope
@ REPL[28]:1
The text was updated successfully, but these errors were encountered:
rahulunair
added a commit
to rahulunair/SimpleChains.jl
that referenced
this issue
Aug 10, 2022
There is an issue when we are passing StaticInt to randn (See below stack trace), the fix could be multiplying with
1
. I am pushing a patch for the same, kindly let me know if that fix is good enough. I am able to run the example with that change.The text was updated successfully, but these errors were encountered: