Skip to content

Commit 3a5bdbe

Browse files
committed
Fixup tests
1 parent 7b46941 commit 3a5bdbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/matmul.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,7 @@ import LinearAlgebra: Adjoint, Transpose
767767
(*)(x::RootInt, y::Integer) = x.i * y
768768
adjoint(x::RootInt) = x
769769
transpose(x::RootInt) = x
770+
Base.zero(::RootInt) = RootInt(0)
770771

771772
@test Base.promote_op(*, RootInt, RootInt) === Int
772773

0 commit comments

Comments
 (0)