Skip to content

Commit

Permalink
Remove is_integral
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Aug 20, 2024
1 parent 746ac41 commit 50c7982
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion experimental/LieAlgebras/src/LieAlgebras.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ import ..Oscar:
inv,
is_abelian,
is_finite,
is_integral,
is_isomorphism,
is_nilpotent,
is_perfect,
Expand Down
5 changes: 0 additions & 5 deletions experimental/LieAlgebras/src/RootSystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -883,10 +883,6 @@ function is_dominant(w::WeightLatticeElem)
return all(>=(0), coefficients(w))
end

function is_integral(w::WeightLatticeElem)
return all(is_integer, coefficients(w))
end

@doc raw"""
reflect(w::WeightLatticeElem, s::Int) -> WeightLatticeElem
Expand Down Expand Up @@ -946,7 +942,6 @@ julia> dim_of_simple_module(R, [1, 0])
function dim_of_simple_module(T::Type, R::RootSystem, hw::WeightLatticeElem)
@req root_system(hw) === R "parent root system mismatch"
@req is_dominant(hw) "not a dominant weight"
@req is_integral(hw) "not an integral weight"
rho = weyl_vector(R)
hw_rho = hw + rho
num = one(ZZ)
Expand Down

0 comments on commit 50c7982

Please sign in to comment.