Skip to content

Commit e86085b

Browse files
committed
1 parent 8616875 commit e86085b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: R/model_WRMF.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ WRMF = R6::R6Class(
359359
}
360360

361361
if (private$with_user_item_bias) {
362-
res[1, ] = ifelse(private$precision == "double", 1.0, float::fl(1.0))
362+
res[1, ] = if(private$precision == "double") 1.0 else float::fl(1.0)
363363
}
364364

365365
loss = private$solver(

0 commit comments

Comments
 (0)