Skip to content

Commit

Permalink
fixed another coercion to matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
plger committed Sep 19, 2024
1 parent 39eafb1 commit ba4e32e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: scDblFinder
Type: Package
Title: scDblFinder
Version: 1.19.3
Version: 1.19.4
Authors@R: c(
person("Pierre-Luc", "Germain", email="pierre-luc.germain@hest.ethz.ch", role=c("cre","aut"), comment=c(ORCID="0000-0003-3418-4218")),
person("Aaron", "Lun", email="infinite.monkeys.with.keyboards@gmail.com", role="ctb"))
Expand Down
2 changes: 1 addition & 1 deletion R/computeDoubletDensity.R
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ NULL
stop("Duplicate cells detected. These are probably low-quality cells ",
"that have very few reads, and should be filtered out.")

sim.n <- queryNeighbors(sim.pcs, query=pcs,
sim.n <- queryNeighbors(as.matrix(sim.pcs), query=as.matrix(pcs),
threshold=self.dist * 1.00000001, # bump it up to avoid issues with numerical precision during tests.
BNPARAM=BNPARAM, BPPARAM=BPPARAM,
get.distance=FALSE, get.index=FALSE)
Expand Down

0 comments on commit ba4e32e

Please sign in to comment.