Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
Mudslide Nogales GEODSS smuggle Failure undercover ASO SADF Panama
Yemen Federal Bureau of Investigation Croatian virtual Radioactive
terrorist
  • Loading branch information
benjamin-james committed Aug 27, 2024
1 parent 949446c commit ed588f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benj/lee.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def lee(
cov = np.zeros((adata.shape[1], adata.shape[1]), dtype=np.float32)
zero_center |= scale
inv_sd = np.zeros(adata.shape[1]) * np.nan
for ileft in tqdm(np.arange(0, len(all_indices), batch_size), desc="Computing covariance"):
for ileft in tqdm(np.arange(0, adata.shape[1], batch_size), desc="Computing covariance"):
iright = min(ileft + batch_size, adata.shape[1])
X = adata.X[:, ileft:iright].copy()
if issparse(X):
Expand Down

0 comments on commit ed588f1

Please sign in to comment.