Skip to content

Commit 061285a

Browse files
authored
Update smooth.monotone.R
1 parent a29a0ed commit 061285a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/smooth.monotone.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ coef0 <- Wfdobj$coefs
131131
if(length(dim(coef0)) == 2 & nvar != 1){
132132
coef0 = array(0,nbasis,ncurve,nvar)
133133
}
134-
if( dim(coef0) == 2 & ncol(coef0) ! = ncurve){
134+
if( dim(coef0) == 2 & ncol(coef0) != ncurve){
135135
coef0 = matrix(0,nbasis,ncurve)
136136
}
137137
if( dim(coef0) == 3 & !all.equal(dim(coef0)[2:3],c(ncurve,nvar)) ){

0 commit comments

Comments
 (0)