Skip to content

Commit e8f1557

Browse files
committed
small edit to address possible gp issue
1 parent e16bc75 commit e8f1557

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

R/cop_pse_auxiliary.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ cal_delta_star <- function(FR2max,
6666
est_uncond,
6767
rxz,
6868
n_obs) {
69-
if (FR2max > .99) {FR2max <-.99}
69+
if (FR2max > .99) else {
70+
FR2max <-.99
71+
}
7072
#if (FR2max < R2 + inci) {FR2max = R2 + inci} check with Ken what this means
7173
if (FR2max > R2) {D <- sqrt(FR2max - R2)}
7274

0 commit comments

Comments
 (0)