Skip to content

Commit 1e14ce6

Browse files
authored
Change the default arithmetic of * for Normed to wrapping (#236)
1 parent 6236e66 commit 1e14ce6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/normed.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,6 @@ function checked_mul(x::N, y::N) where {T <: Union{UInt8,UInt16,UInt32,UInt64},
288288
N(div_2fm1(z, Val(Int(f))) % T, 0)
289289
end
290290

291-
# TODO: decide the default arithmetic for `Normed` mul
292-
# Override the default arithmetic with `checked` for backward compatibility
293-
*(x::N, y::N) where {N <: Normed} = checked_mul(x, y)
294-
295291

296292
# Functions
297293
floor(x::N) where {N <: Normed} = reinterpret(N, x.i - x.i % rawone(N))

0 commit comments

Comments
 (0)