Skip to content

Commit 8d02c66

Browse files
authored
Merge pull request #77 from JuliaGraphs/hw/bumpGeoBasics
2 parents f3fc3dd + 4a3bd9a commit 8d02c66

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Project.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "NetworkLayout"
22
uuid = "46757867-2c16-5918-afeb-47bfcb05e46a"
3-
version = "0.4.8"
3+
version = "0.4.9"
44

55
[deps]
66
GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326"
@@ -16,7 +16,7 @@ Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
1616
NetworkLayoutGraphsExt = "Graphs"
1717

1818
[compat]
19-
GeometryBasics = "0.4"
19+
GeometryBasics = "0.4, 0.5"
2020
Graphs = "1"
2121
Requires = "1"
2222
StableRNGs = "1.0.2"
@@ -25,12 +25,11 @@ julia = "1.6"
2525

2626
[extras]
2727
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
28-
GeometryTypes = "4d00f742-c7ba-57c2-abde-4428a4b178cb"
2928
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
3029
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
3130
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
3231
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
3332
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
3433

3534
[targets]
36-
test = ["Graphs", "Test", "DelimitedFiles", "GeometryTypes", "SparseArrays", "StableRNGs"]
35+
test = ["Graphs", "Test", "DelimitedFiles", "SparseArrays", "StableRNGs"]

src/NetworkLayout.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ infer the PType and the dimension.
174174
i.e.
175175
infer_pointtype([(1,2), (2.3, 4)]) == (2, Float64)
176176
"""
177-
infer_pointtype(::AbstractPoint{dim,t}) where {dim,t} = dim, t
177+
infer_pointtype(::GeometryBasics.AbstractPoint{dim,t}) where {dim,t} = dim, t
178178
infer_pointtype(::NTuple{dim,t}) where {dim,t} = dim, t
179179
infer_pointtype(t::Tuple) = length(t), promote_type(typeof(t).parameters...)
180180
function infer_pointtype(v)

0 commit comments

Comments
 (0)