Hi!
While implementing a custom ring interface I had minor problems getting it to work. Specifically there was a method for base_ring_type missing. But then I noticed that this also effects the minimal example from the wiki. This is the error I get when using the minimal example:
julia> ConstantPolynomialRing(ZZ)
Constant polynomials over Error showing value of type ConstPolyRing{BigInt}:
ERROR: MethodError: no method matching base_ring_type(::ConstPolyRing{BigInt})
Closest candidates are:
base_ring_type(::Type{ConstPoly{T}}) where T<:RingElement
@ Main REPL[12]:1
Stacktrace:
[1] base_ring(R::ConstPolyRing{BigInt})
@ Main ./REPL[13]:1
[2] show(io::IOContext{Base.TTY}, R::ConstPolyRing{BigInt})
@ Main ./REPL[26]:3
[3] show(io::IOContext{Base.TTY}, ::MIME{Symbol("text/plain")}, x::ConstPolyRing{BigInt})
@ Base.Multimedia ./multimedia.jl:47
Hi! While implementing a custom ring interface I had minor problems getting it to work. Specifically there was a method for
base_ring_type
missing. But then I noticed that this also effects the minimal example from the wiki. This is the error I get when using the minimal example: