Skip to content

Commit e62c60c

Browse files
author
Giles Hooker
committed
fixed error with getbasismatrix
1 parent 92768b5 commit e62c60c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/getbasismatrix.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ getbasismatrix <- function(evalarg, basisobj, nderiv=0, returnMatrix=FALSE) {
6565
if (!(length(basisobj$basisvalues) == 0 || is.null(basisobj$basisvalues))) {
6666
# one or more stored basis matrices found,
6767
# check that requested derivative is available
68-
if (!is.vector(basisvalues)) stop("BASISVALUES is not a vector.")
68+
if (!is.vector(basisobj$basisvalues)) stop("BASISVALUES is not a vector.")
6969
basisvalues <- basisobj$basisvalues
7070
nvalues <- length(basisvalues)
7171
# search for argvals match

0 commit comments

Comments
 (0)