Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/Ideal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@
iszero(I::Ideal) = all(iszero, gens(I))

base_ring_type(::Type{<:IdealSet{T}}) where T <: RingElement = parent_type(T)

# fundamental interface, to be documented
ideal_type(x) = ideal_type(typeof(x))
ideal_type(T::DataType) = throw(MethodError(ideal_type, (T,)))

Check warning on line 47 in src/Ideal.jl

View check run for this annotation

Codecov / codecov/patch

src/Ideal.jl#L46-L47

Added lines #L46 - L47 were not covered by tests
1 change: 1 addition & 0 deletions src/exports.jl
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ export hooklength
export howell_form
export howell_form_with_transformation
export ideal
export ideal_type
export identity_map
export identity_matrix
export image
Expand Down
Loading