-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorpriorityThis should be addressed urgentlyThis should be addressed urgently
Description
A minimal testcase for the issue reported here:
julia> immutable RGB
r::Float32
g::Float32
b::Float32
end
julia>
WARNING: deprecated syntax "{a=>b, ...}".
Use "Dict{Any,Any}(a=>b, ...)" instead.
julia> const colormaps_sequential = {
#single hue
#name hue w d c s b wcolor dcolor
"blues" => (255, 0.3, 0.25, 0.88, 0.6, 0.75, RGB(1,1,0), RGB(0,0,1)),
"greens" => (120, 0.15, 0.18, 0.88, 0.55, 0.9, RGB(1,1,0), RGB(0,0,1)),
"grays" => (0, 0.0, 0.0, 1.0, 0.0, 0.75, RGB(1,1,0), RGB(0,0,1)),
"oranges" => (20, 0.5, 0.4, 0.83, 0.95, 0.85, RGB(1,1,0), RGB(1,0,0)),
"purples" => (265, 0.15, 0.2, 0.88, 0.5, 0.7, RGB(1,0,1), RGB(1,0,0)),
"reds" => (12, 0.15, 0.25, 0.8, 0.85, 0.6, RGB(1,1,0), RGB(0.3,0.1,0.1))
}
WARNING: deprecated syntax "{a=>b, ...}".
Use "Dict{Any,Any}(a=>b, ...)" instead.
Dict{Any,Any} with 6 entries:
"reds" => (12,0.15,0.25,0.8,0.85,0.6,RGB(1.0f0,1.0f0,0.0f0),RGB(0.3f0,0.1f0,0.1f0))
"purples" => (265,0.15,0.2,0.88,0.5,0.7,RGB(1.0f0,0.0f0,1.0f0),RGB(1.0f0,0.0f0,0.0f0))
"oranges" => (20,0.5,0.4,0.83,0.95,0.85,RGB(1.0f0,1.0f0,0.0f0),RGB(1.0f0,0.0f0,0.0f0))
"greens" => (120,0.15,0.18,0.88,0.55,0.9,RGB(1.0f0,1.0f0,0.0f0),RGB(0.0f0,0.0f0,1.0f0))
"blues" => (255,0.3,0.25,0.88,0.6,0.75,RGB(1.0f0,1.0f0,0.0f0),RGB(0.0f0,0.0f0,1.0f0))
"grays" => (0,0.0,0.0,1.0,0.0,0.75,RGB(1.0f0,1.0f0,0.0f0),RGB(0.0f0,0.0f0,1.0f0))
julia>
WARNING: deprecated syntax "{a=>b, ...}".
Use "Dict{Any,Any}(a=>b, ...)" instead.
julia> const colormaps_diverging = {
#name h1 h2 w d1 d2 c s b wcolor dcolor dcolor2
"rdbu" => (12, 255, 0.2, 0.6, 0.0, 0.85, 0.6, 0.65, RGB(1,1,0), RGB(1,0,0), RGB(0,0,1))
}
WARNING: deprecated syntax "{a=>b, ...}".
Use "Dict{Any,Any}(a=>b, ...)" instead.
Dict{Any,Any} with 1 entry:
"rdbu" => (12,255,0.2,0.6,0.0,0.85,0.6,0.65,RGB(1.0f0,1.0f0,0.0f0),RGB(1.0f0,0.0f0,0.0f0),RGB(0.0f0,0.0f0,1.0f0))And now:
julia> convert((Int...), (uint(1),))
ERROR: `convert` has no method matching convert(::Type{Int64...}, ::Uint64)
in convert at base.jl:9
in convert at base.jl:17Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorpriorityThis should be addressed urgentlyThis should be addressed urgently