Skip to content

Commit

Permalink
Fix bug in divexact test code for NCPoly. (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
wbhart authored and thofma committed Oct 19, 2018
1 parent b4c3a06 commit 16cb771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/generic/NCPoly-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ function test_gen_ncpoly_exact_division()
for iter = 1:100
f = rand(S, 0:10, -100:100)
g = S()
while g == 0
while rank(lead(g)) != 2
g = rand(S, 0:10, -100:100)
end

Expand Down Expand Up @@ -390,7 +390,7 @@ function test_gen_ncpoly_adhoc_exact_division()
for iter = 1:100
f = rand(T, 0:10, 0:10, -100:100)
g = S()
while g == 0
while rank(lead(g)) != 2
g = rand(S, 0:10, -100:100)
end

Expand Down

0 comments on commit 16cb771

Please sign in to comment.