From 309e6357e04bc058258f7acc4244275b6c6e0872 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Mon, 27 Feb 2023 10:25:01 -0500 Subject: [PATCH] Revert "remove unused numba import" This reverts commit 1b8e71ef81eb9c100a032d5e68efe16f8d024e2d. --- src/pyliger/factorization/_utilities.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pyliger/factorization/_utilities.py b/src/pyliger/factorization/_utilities.py index 3999bcf..2881cc7 100644 --- a/src/pyliger/factorization/_utilities.py +++ b/src/pyliger/factorization/_utilities.py @@ -2,6 +2,7 @@ import scipy.sparse as sps import numpy.linalg as nla import scipy.linalg as sla +from numba import jit, njit, prange from .._utilities import _h5_idx_generator @@ -129,7 +130,7 @@ def _update_H_HALS(H, V, W, X, value_lambda): """ #@jit(nopython=True) def _update_W_HALS(A, B, W, V): - + for j in range(W.shape[1]): W_update_numerator = np.zeros(W.shape[0]) W_update_denominator = 0.0