Skip to content

Commit

Permalink
Remove error_dim_negative
Browse files Browse the repository at this point in the history
Nothing uses it. Nemo defines its own version of this.
  • Loading branch information
fingolfin committed Aug 24, 2023
1 parent e9bc685 commit c1a5e75
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/AbstractAlgebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ export AdditiveGroupElem
export crt
export crt_with_lcm
export elem_type
export error_dim_negative
export ErrorConstrDimMismatch
export factor
export factor_squarefree
Expand Down
2 changes: 0 additions & 2 deletions src/error.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,3 @@ function Base.showerror(io::IO, e::ErrorConstrDimMismatch)
print(io, "got $(e.get_l)")
end
end

const error_dim_negative = ErrorException("Dimensions must be non-negative")

0 comments on commit c1a5e75

Please sign in to comment.