From f1c418aba846a2b070dca3c4a9f596e4b2d05dd7 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bossuat Date: Thu, 28 Sep 2023 00:09:07 +0200 Subject: [PATCH] fmt --- dckks/transform.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dckks/transform.go b/dckks/transform.go index 35c874af..f0a018b0 100644 --- a/dckks/transform.go +++ b/dckks/transform.go @@ -397,10 +397,10 @@ func (mltp MaskedLinearTransformationProtocol) applyTransformAndScale(transform // .Int truncates (i.e. does not round to the nearest integer) // Thus we check if we are below, and if yes add 1, which acts as rounding to the nearest integer - if d == big.Below{ + if d == big.Below { inputScaleInt.Add(inputScaleInt, new(big.Int).SetInt64(1)) } - + // Scales the mask by the ratio between the two scales for i := range mask { mask[i].Mul(mask[i], mltp.defaultScale)