steve-the-bayesian / BOOM

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.
GNU Lesser General Public License v2.1
36 stars 15 forks source link

Condition 'confidence>=1' is always true #64

Closed steve-the-bayesian closed 2 years ago

steve-the-bayesian commented 2 years ago

Codacy detected an issue:

Message: Condition 'confidence>=1' is always true

Occurred on:

Currently on:

The 'confidence' parameter is a double passed in as a function argument. It can have an arbitrary value. The warning is incorrect.