Skip to content

Commit

Permalink
Remove wanna-be triangular dispatch (fixes #50)
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Oct 26, 2014
1 parent 8157932 commit 16566b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/annotations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ fontdescription(fontfamily, fontoptions, fontsize) = string(fontfamily, " ", fon

## Point annotations

type AnnotationPoints{R<:Union(Real,(Real,Real)),T<:Union(R,Vector{R},Matrix{R})}
type AnnotationPoints{R<:Union(Real,(Real,Real)), T}
pts::T
z::Float64
t::Float64
Expand All @@ -89,7 +89,7 @@ AnnotationPoint(x::Real, y::Real; args...) = AnnotationPoint((float64(x), float6

## Line annotations

type AnnotationLines{R<:Union(Real,(Real,Real)),T<:Union((R,R),Vector{(R,R)},Matrix{R})}
type AnnotationLines{R<:Union(Real,(Real,Real)), T}
lines::T
z::Float64
t::Float64
Expand Down

0 comments on commit 16566b7

Please sign in to comment.