Skip to content

Commit

Permalink
dispatch on AbstractVector
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Fechner committed Aug 5, 2024
1 parent 839dde4 commit 67d2485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plot2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ plot2d__ = let lines = nothing, sc = nothing, txt = nothing # Note: Must all be
end
end

function plot2d(pos::Union{Vector, SVector}, reltime=0.0; kwargs...)
function plot2d(pos::AbstractVector, reltime=0.0; kwargs...)
plot2d__(pos, reltime; kwargs...)
end

Expand Down

0 comments on commit 67d2485

Please sign in to comment.