Skip to content

Commit 02800ca

Browse files
blegatsbromberger
authored andcommitted
Fix deprecation warning (#52)
1 parent e6e2b7f commit 02800ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lines.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Return lines and arrow heads
33
"""
44
function graphline{T<:Real}(g, locs_x, locs_y, nodesize::Vector{T}, arrowlength, angleoffset)
5-
lines = Array(Vector{Tuple{Float64,Float64}}, _ne(g))
6-
arrows = Array(Vector{Tuple{Float64,Float64}}, _ne(g))
5+
lines = Array{Vector{Tuple{Float64,Float64}}}(_ne(g))
6+
arrows = Array{Vector{Tuple{Float64,Float64}}}(_ne(g))
77
for (e_idx, e) in enumerate(_edges(g))
88
i = _src_index(e, g)
99
j = _dst_index(e, g)

0 commit comments

Comments
 (0)