Skip to content

Commit

Permalink
Make inequalities consistently non-strict (fixes #67) (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan authored Sep 1, 2016
1 parent 6f93e75 commit 64b4118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbscan.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function _dbs_expand_cluster!{T<:Real}(D::DenseMatrix{T}, # distance m
if !visited[q]
visited[q] = true
qnbs = _dbs_region_query(D, q, eps)
if length(qnbs) > minpts
if length(qnbs) >= minpts
for x in qnbs
if assignments[x] == 0
push!(nbs, x)
Expand Down

0 comments on commit 64b4118

Please sign in to comment.