Skip to content

Commit

Permalink
Merge pull request #9 from milankl/whatsnext
Browse files Browse the repository at this point in the history
Sherlog16 ambiguity removed
  • Loading branch information
Milan K committed Nov 15, 2019
2 parents f2bb051 + b656e9e commit 6034942
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Sherlog16.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Base.Float64(x::Sherlog16) = Float64(x.val)
Base.Float32(x::Sherlog16) = Float32(x.val)
Base.Float16(x::Sherlog16) = Float16(x.val)

#TODO there is some amiguitiy between here and the struct defintion
Sherlog16(x::T) where {T<:AbstractFloat} = Sherlog16{Float16}(x)
Sherlog16(x::Integer) = Sherlog16{Float16}(Float16(x))

Expand Down

0 comments on commit 6034942

Please sign in to comment.