Skip to content

Commit

Permalink
feat: add some assertion and comment (#1679)
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma authored Nov 9, 2024
1 parent e526417 commit b085401
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/AlgAssAbsOrd/PIP/unit_group_generators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ function _SLn_generators(OK, n)
end
end

# The generating set must contain 1
# Make sure that this holds
@assert one(OK) in B

for i in 1:n
for j in 1:n
if j == i
Expand Down

0 comments on commit b085401

Please sign in to comment.