Skip to content

Commit

Permalink
Fix failure to update EP parameters when one is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ngmarchant committed Jun 24, 2022
1 parent 1b9a4dc commit 46f6213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clust_params.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void GenCouponClustParams::update(Links &links) {

void PitmanYorClustParams::update(Links &links)
{
if (!d_prior_.has_value() || !alpha_prior_.has_value()) {
if (!d_prior_.has_value() && !alpha_prior_.has_value()) {
// Nothing to update
return;
}
Expand Down

0 comments on commit 46f6213

Please sign in to comment.