Skip to content

Commit aeb687a

Browse files
committed
fdParcheck bug
1 parent 058581f commit aeb687a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/smooth.basis1.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ smooth.basis1 <- function (argvals=1:n, y, fdParobj,
6363
# PENMAT the penalty matrix.
6464
# Y2CMAP the matrix mapping the data to the coefficients.
6565
#
66-
# last modified 7 August 2020 by Jim Ramsay
66+
# last modified 16 November 2021 by Jim Ramsay
6767

6868
# This version of smooth.basis, introduced in March 2011, permits ARGVALS
6969
# to be a matrix, with the same dimensions as the first two dimensions of Y
@@ -101,7 +101,7 @@ smooth.basis1 <- function (argvals=1:n, y, fdParobj,
101101

102102
# check fdParobj
103103

104-
fdParobj <- fdParcheck(fdParobj)
104+
fdParobj <- fdParcheck(fdParobj,nrep)
105105

106106
fdobj <- fdParobj$fd
107107
lambda <- fdParobj$lambda

0 commit comments

Comments
 (0)