Skip to content

Commit

Permalink
collision bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guo-yong-zhi committed Mar 20, 2021
1 parent 9458e40 commit 38aada8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "WordCloud"
uuid = "6385f0a0-cb03-45b6-9089-4e0acc74b26b"
authors = ["guoyongzhi <[email protected]>"]
version = "0.5.3"
version = "0.5.4"

[deps]
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
Expand Down
2 changes: 1 addition & 1 deletion src/qtreetools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function collision(Q1::AbstractStackQtree, Q2::AbstractStackQtree, i=(levelnum(Q
# @show cn,ci
# @show Q1[ci],Q2[ci]
r = collision(Q1, Q2, ci)
if r[1] return r end
if r[1]>0 return r end
end
return r # no collision
end
Expand Down

0 comments on commit 38aada8

Please sign in to comment.