Closed itsdfish closed 5 years ago
I have also encountered the same error using a truncated normal on sigma recently but have a hard time to reproduce it. Just wanted to report it hear.
Thanks, @jonasmac16. I was able to reproduce the error by replacing s
with s ~ TruncatedNormal(0,1,0,Inf)
in the code above. On my system, the error systems seems to be fairly robust to the prior on s
and seed. If you are finding cases where the model runs correctly, it might be helpful to report the code and your system info.
This bug should be fixed by the recent merged PR in AdvancedHMC.jl. There was an interface bug after AdvancedHMC.jl was upgraded.
Hi-
For some reason the sigma parameter (s) takes the value of NaN and triggers an inequality violation. I found this in several models, but this is the simplest model I found that produces the error.
System Info: