fixed big.Int zero division

This commit is contained in:
Jean-Philippe Bossuat
2022-12-02 20:31:05 +01:00
parent 4fe0e610f6
commit 3976297f65
3 changed files with 6 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.19', '1.18', '1.17', '1.16', '1.15', '1.14', '1.13' ]
go: [ '1.19', '1.18', '1.17', '1.16', '1.15', '1.14' ]
steps:
- uses: actions/checkout@v2

View File

@@ -2,6 +2,10 @@
# Changelog
All notable changes to this library are documented in this file.
## UNRELEASED - XXXX-XX-XX
- Go `1.13` is not supported anymore by the library due to behavioral changes in the `math/big` package. The minimum version is now `1.14`.
- UTILS: added `GetFactors`, `GetFactorPollardRho` and `GetFactorECM`.
## [4.1.0] - 2022-11-22
- Further improved the generalization of the code across schemes through the `rlwe` package and the introduction of a generic scale management interface.
- All: uniformized the `prec` type to `uint` for `*big.Float` types.

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/tuneinsight/lattigo/v4
go 1.13
go 1.14
require (
github.com/kr/pretty v0.3.0 // indirect