Skip to content

Commit 679dd9c

Browse files
committed
up
1 parent abfe389 commit 679dd9c

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ SpecialFunctions = "0.7, 0.8, 0.9, 0.10, 1.0, 2"
7979
StaticArrays = "0.10, 0.11, 0.12, 1.0"
8080
SymbolicIndexingInterface = "0.1, 0.2"
8181
SymbolicUtils = "1.0"
82-
Symbolics = "4.9"
82+
Symbolics = "5.0"
8383
UnPack = "0.1, 1.0"
8484
Unitful = "1.1"
8585
julia = "1.6"

test/structural_transformation/bareiss.jl

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ function det_bareiss!(M)
1616
end
1717

1818
@testset "bareiss tests" begin
19-
# copy gives a dense matrix
20-
@testset "bareiss tests: $T" for T in (copy, sparse)
21-
# matrix determinent pairs
22-
for (M, d) in ((BigInt[9 1 8 0; 0 0 8 7; 7 6 8 3; 2 9 7 7], -1),
23-
(BigInt[1 big(2)^65+1; 3 4], 4 - 3 * (big(2)^65 + 1)))
24-
# test that the determinent was correctly computed
25-
@test det_bareiss!(T(M)) == d
19+
# copy gives a dense matrix
20+
@testset "bareiss tests: $T" for T in (copy, sparse)
21+
# matrix determinent pairs
22+
for (M, d) in ((BigInt[9 1 8 0; 0 0 8 7; 7 6 8 3; 2 9 7 7], -1),
23+
(BigInt[1 big(2)^65+1; 3 4], 4 - 3 * (big(2)^65 + 1)))
24+
# test that the determinent was correctly computed
25+
@test det_bareiss!(T(M)) == d
26+
end
2627
end
27-
end end
28+
end

0 commit comments

Comments
 (0)