Skip to content

Commit

Permalink
remove extra space
Browse files Browse the repository at this point in the history
  • Loading branch information
Fe-r-oz committed Dec 4, 2024
1 parent 7b3238b commit 15d9635
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/test_gf2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
for rep in 1:100
gf2_matrices = [rand(Bool, size, size) for size in test_sizes]
for (i, matrix) in enumerate(gf2_matrices)
echelon_form, _, transformation, _ = gf2_row_echelon_with_pivots!(Matrix{Int}(matrix), full=true) # in-place
# Check the correctness of the transformation matrix
@test (transformation*matrix) .%2 == echelon_form
# Check the correctness of Gaussian elimination
@test echelon_form == gf2_gausselim!(matrix)
echelon_form, _, transformation, _ = gf2_row_echelon_with_pivots!(Matrix{Int}(matrix), full=true) # in-place
# Check the correctness of the transformation matrix
@test (transformation*matrix) .%2 == echelon_form
# Check the correctness of Gaussian elimination
@test echelon_form == gf2_gausselim!(matrix)
end
end
end
Expand Down

0 comments on commit 15d9635

Please sign in to comment.