Skip to content

Commit

Permalink
Merge pull request #202 from Merck/201-futility-bound-is-missing
Browse files Browse the repository at this point in the history
fix futility bound
  • Loading branch information
nanxstats authored Mar 24, 2023
2 parents 6e32041 + 52e2df2 commit c846bca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: gsDesign2
Title: Group Sequential Design with Non-Constant Effect
Version: 1.0.7
Version: 1.0.8
Authors@R: c(
person("Keaven", "Anderson", email = "keaven_anderson@merck.com", role = c("aut")),
person("Yilong", "Zhang", email = "elong0527@gmail.com", role = c("aut")),
Expand Down
2 changes: 1 addition & 1 deletion R/gs_power_ahr.R
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ gs_power_ahr <- function(enroll_rate = tibble(

# Check if it is two-sided design or not
if (identical(lower, gs_b) && (!is.list(lpar))) {
if (all(test_lower) == FALSE) {
if (all(test_lower == FALSE)) {
two_sided <- FALSE
lpar <- rep(-Inf, n_analysis)
} else {
Expand Down

0 comments on commit c846bca

Please sign in to comment.