Skip to content

Commit

Permalink
make C more adapative
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtuck committed Dec 30, 2024
1 parent bbe39cc commit c500a5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/jointfPCA.R
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jointFPCA <- function(warp_data,
if (is.null(C))
C <- stats::optimize(
findC,
c(0, 1e4),
c(0, round(max(qn1))+1),
qn = qn1,
vec = vec,
q0 = q0,
Expand Down Expand Up @@ -371,7 +371,7 @@ jointFPCAh <- function(warp_data,
if (is.null(C))
C <- stats::optimize(
findCh,
c(0, 1e4),
c(0, round(max(qn1))+1),
qn = qn1,
h = h,
q0 = q0,
Expand Down

0 comments on commit c500a5c

Please sign in to comment.