We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-max() might be zero probability, but it's still better than -infinity(). Accept samples if that happens. See
-max()
-infinity()
const bool trial_sample_has_zero_probability = ((trial_log_likelihood == -std::numeric_limits<double>::max()) || (trial_log_likelihood == -std::numeric_limits<double>::infinity())); const bool current_sample_has_zero_probability = ((current_log_likelihood == -std::numeric_limits<double>::max()) || (current_log_likelihood == -std::numeric_limits<double>::infinity())); bool repeated_sample; if (!(trial_sample_has_zero_probability && !current_sample_has_zero_probability)
@dklong-csu -- FYI
The text was updated successfully, but these errors were encountered:
Also correspondingly update the documentation. This has to happen in all of the sampling algorithms we have.
Sorry, something went wrong.
No branches or pull requests
-max()
might be zero probability, but it's still better than-infinity()
. Accept samples if that happens. See@dklong-csu -- FYI
The text was updated successfully, but these errors were encountered: