A C++ library for Bayesian modeling, mainly through Markov chain Monte Carlo, but with a few other methods supported. BOOM = "Bayesian Object Oriented Modeling". It is also the sound your computer makes when it crashes.
The variable 'p' is a 'double' argument to a function. In the application 'p' is a probability so the assertion "p>=1" is always true is false. I'm getting this warning in several places, and consider it to be an error.
Codacy detected an issue:
Message:
Condition 'p>=1' is always true
The variable 'p' is a 'double' argument to a function. In the application 'p' is a probability so the assertion "p>=1" is always true is false. I'm getting this warning in several places, and consider it to be an error.
Occurred on:
if (p <= 0 || p >= 1) {
Currently on: