Skip to content

Commit

Permalink
feat: add some assertion and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma committed Nov 9, 2024
1 parent 39fc9cb commit 5fe3d49
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

Check warning on line 138 in src/AlgAssAbsOrd/PIP/unit_group_generators.jl

View check run for this annotation

Codecov / codecov/patch

src/AlgAssAbsOrd/PIP/unit_group_generators.jl#L138

Added line #L138 was not covered by tests

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

0 comments on commit 5fe3d49

Please sign in to comment.