Skip to content

Commit e295336

Browse files
committed
allow Vector{AbstractVector} in makeisolevels
1 parent f1fc418 commit e295336

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "GridVisualizeTools"
22
uuid = "5573ae12-3b76-41d9-b48c-81d0b6e61cc5"
33
authors = ["Jürgen Fuhrmann <juergen-fuhrmann@web.de>"]
4-
version = "0.3.0"
4+
version = "0.3.1"
55

66
[deps]
77
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"

src/planeslevels.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function makeisolevels(func::Vector{T}, levels, limits, colorbarticks) where {T
5555
makeisolevels([func], levels, limits, colorbarticks)
5656
end
5757

58-
function makeisolevels(funcs::Vector{Vector{T}}, levels, limits, colorbarticks) where {T <: Number}
58+
function makeisolevels(funcs::Vector{T}, levels, limits, colorbarticks) where {T <: AbstractVector}
5959
if limits[1] > limits[2]
6060
ext = extrema.(funcs)
6161
limits = (minimum(first.(ext)), maximum(last.(ext)))

0 commit comments

Comments
 (0)