Skip to content

Commit

Permalink
Remove N*f0 symbols (#121)
Browse files Browse the repository at this point in the history
There's no Integer between 0 and 1/2, so these symbols are meaningless.
  • Loading branch information
johnnychen94 authored and timholy committed May 15, 2019
1 parent 5729a89 commit 17c4099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/normed.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ typechar(::Type{X}) where {X <: Normed} = 'N'
signbits(::Type{X}) where {X <: Normed} = 0

for T in (UInt8, UInt16, UInt32, UInt64)
for f in 0:sizeof(T)*8
for f in 1:sizeof(T)*8
sym = Symbol(String(take!(showtype(_iotypealias, Normed{T,f}))))
@eval begin
const $sym = Normed{$T,$f}
Expand Down

0 comments on commit 17c4099

Please sign in to comment.