Skip to content

Commit

Permalink
Hotfix: Swap D for upper_interval when D is > than upper_interval
Browse files Browse the repository at this point in the history
  • Loading branch information
seabbs authored Sep 6, 2024
1 parent 2d8f339 commit 74c2c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/stan/primary_censored_dist.stan
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ vector primary_censored_sone_lpmf_vectorized(
log_normalizer = 0; // No normalization needed for infinite D
} else {
log_normalizer = primary_censored_dist_lcdf(
upper_interval | dist_id, params, pwindow, positive_infinity(),
D | dist_id, params, pwindow, positive_infinity(),
primary_dist_id, primary_params
);
}
Expand Down

0 comments on commit 74c2c8c

Please sign in to comment.