Skip to content

Commit 47aa10e

Browse files
author
Remi Prebet
committed
Fix bug in _get_rational_parametrization: division by a number instead of multiplication
1 parent d852ae0 commit 47aa10e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/algorithms/solvers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function _get_rational_parametrization(
3737
p[k] = C([unsafe_load(cfs, j+ctr) for j in 1:lens[i]-1])
3838
# multiply parametrization polynomial directly with
3939
# corresponding coefficients
40-
p[k] *= (-1) * ZZRingElem(unsafe_load(cfs, lens[i]+ctr))
40+
p[k] *= (-1) // ZZRingElem(unsafe_load(cfs, lens[i]+ctr))
4141
ctr += lens[i]
4242
k += 1
4343
end

0 commit comments

Comments
 (0)