Skip to content

Commit

Permalink
Merge pull request #51 from aksarkar/fix-multithreading-message
Browse files Browse the repository at this point in the history
Report how many threads are being used in fit_poisson_nmf.
  • Loading branch information
pcarbo authored Mar 26, 2024
2 parents c71461e + 90b48a3 commit d31c161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/fit_poisson_nmf.R
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ fit_poisson_nmf <- function (X, k, fit0, numiter = 100,
control$extrapolate)
stop("control$extrapolate cannot be TRUE when all factors or loadings ",
"are fixed")
control$nc <- initialize.multithreading(control$nc)
control$nc <- initialize.multithreading(control$nc,verbose != "none")

# Only one of "k" and "fit0" should be provided. If argument "k" is
# given, generate a random initialization of the factors and
Expand Down

0 comments on commit d31c161

Please sign in to comment.