From 15ee24a93638d5bf1675c44ca8e94b8638c85ef8 Mon Sep 17 00:00:00 2001
From: "Zhao, Yujie" <yujie.zhao@merck.com>
Date: Wed, 13 Nov 2024 19:11:04 -0500
Subject: [PATCH] revert previous commit

---
 R/to_integer.R | 1 +
 1 file changed, 1 insertion(+)

diff --git a/R/to_integer.R b/R/to_integer.R
index eb7d54a3..fc20180b 100644
--- a/R/to_integer.R
+++ b/R/to_integer.R
@@ -345,6 +345,7 @@ to_integer.gs_design <- function(x, round_up_final = TRUE, ratio = x$input$ratio
   }
 
   n_analysis <- length(x$analysis$analysis)
+  multiply_factor <- ratio + 1
 
   if (!is_rd) {
     # Updated events to integer