Skip to content

Commit eac592a

Browse files
committed
Fixed a bug that was introduced in the previous commit.
1 parent ca2b929 commit eac592a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Encoding: UTF-8
22
Type: Package
33
Package: fastTopics
4-
Version: 0.7-36
4+
Version: 0.7-37
55
Date: 2025-12-21
66
Title: Fast Algorithms for Fitting Topic Models and Non-Negative
77
Matrix Factorizations to Count Data

R/fit_poisson_nmf.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ fit_poisson_nmf <- function (X, k, fit0, numiter = 100,
455455
cat(sprintf("Running at most %d %s updates, %s extrapolation ",
456456
numiter,method.text,
457457
ifelse(control$extrapolate,"with","without")))
458-
cat("(fastTopics 0.7-36).\n")
458+
cat("(fastTopics 0.7-37).\n")
459459
}
460460

461461
# INITIALIZE ESTIMATES

src/pnmfem.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ inline vec pnmfem_update_factor_sparse (const sp_mat& X, const mat& F,
2626
unsigned int n = x.n_elem;
2727
vec f = F.col(j);
2828
if (n == 0)
29-
return;
29+
return f;
3030
uvec i(n);
3131
getcolnonzeros(X,i,j);
3232
poismixem(L1,u,x,i,f,numiter);

0 commit comments

Comments
 (0)