Skip to content

Commit 6cdb9d7

Browse files
committed
update AbstractTrees compat and minor doc fixes
1 parent 17a3d22 commit 6cdb9d7

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "WavePropBase"
22
uuid = "91c5bd54-65f5-4719-ae3b-9579edfc4a0b"
33
authors = ["Luiz M. Faria <maltezfaria@gmail.com> and contributors"]
4-
version = "0.2.3"
4+
version = "0.2.4"
55

66
[deps]
77
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
@@ -13,7 +13,7 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
1313
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1414

1515
[compat]
16-
AbstractTrees = "0.3"
16+
AbstractTrees = "0.3, 0.4"
1717
RecipesBase = "1.1"
1818
Requires = "1"
1919
StaticArrays = "1.2"

src/Geometry/domain.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function Base.intersect(Ω1::Domain, Ω2::Domain)
143143
end
144144
end
145145

146-
function Base.push!::Domain,ent::ElementaryEntity)
146+
function Base.push!::Domain,ent::AbstractEntity)
147147
push!(entities(Ω),ent)
148148
end
149149

src/Geometry/referenceshapes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ vertices(ln::ReferenceLine) = SVector(0), SVector(1)
5454
"""
5555
struct ReferenceTriangle
5656
57-
Singleton type representing the triangle with vertices `(0,0),(0,1),(1,0)`
57+
Singleton type representing the triangle with vertices `(0,0),(1,0),(0,0)`
5858
"""
5959
struct ReferenceTriangle <: AbstractReferenceShape{2}
6060
end

src/Trees/clustertree.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ during the tree construction.
122122
"""
123123
function ClusterTree{D}(elements,splitter=CardinalitySplitter();copy_elements=true, threads=false) where {D}
124124
copy_elements && (elements = deepcopy(elements))
125-
if splitter isa DyadicSplitter || splitter isa DyadicMinimalSplitter || splitter isa DyadicMaxDepthSplitter
125+
if splitter isa DyadicSplitter || splitter isa DyadicMaxDepthSplitter
126126
# make a cube for bounding box for quad/oct trees
127127
bbox = HyperRectangle(elements,true)
128128
else

0 commit comments

Comments
 (0)