Skip to content

Commit

Permalink
Hotfix d
Browse files Browse the repository at this point in the history
  • Loading branch information
seabbs authored Sep 19, 2024
1 parent fd12989 commit 875a792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/primary_censored_dist.R
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ primary_censored_cdf.default <- function(
primary_censored_cdf.pcens_numeric <- function(
object, q, pwindow, use_numeric = FALSE) {
result <- vapply(q, function(d) {
if (d < 0) {
if (d <= 0) {
return(0) # Return 0 for non-positive delays
} else {
integrand <- function(p) {
Expand Down

0 comments on commit 875a792

Please sign in to comment.