Skip to content

Commit 14b37f2

Browse files
author
Giles Hooker
committed
bug fix fRegress.double
1 parent f8f3bba commit 14b37f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/fRegress.double.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ fRegress.double <- function(y, xfdlist, betalist, wt=NULL,
105105
zeromat <- matrix(0,ncoef,bnbasis)
106106
Rmat <- rbind(cbind(Rmat, zeromat),
107107
cbind(t(zeromat), Rmatj))
108+
ncoef <- ncoef + bnbasis
108109
} else {
109110
Rmat <- Rmatj
110111
ncoef <- ncoef + bnbasis

0 commit comments

Comments
 (0)