Skip to content

Commit caf4744

Browse files
committed
Finalize rebase
1 parent 63c2733 commit caf4744

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ autobenches = false
77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

99
[dependencies]
10-
qfall-math = { git = "https://github.com/qfall/math", branch = "cholesky_decomp_f64_precision" }
10+
qfall-math = { git = "https://github.com/qfall/math", branch = "dev" }
1111
sha2 = "0.10.6"
1212
serde = {version="1.0", features=["derive"]}
1313
serde_json = "1.0"

src/primitive/psf/gpv_perturbation.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ impl PSF<MatZq, (MatZ, MatQ), MatZ, MatZq> for PSFGPVPerturbation {
193193
// randomized rounding that has to occure, hence it is generated in the `TrapGen`
194194
let perturbation = MatZ::sample_d_common_non_spherical(
195195
&self.gp.n,
196-
&convolution_matrix,
196+
convolution_matrix,
197197
&self.rounding_parameter,
198198
)
199199
.unwrap();
@@ -204,7 +204,7 @@ impl PSF<MatZq, (MatZ, MatQ), MatZ, MatZq> for PSFGPVPerturbation {
204204
let z: MatZ = sampling_gaussian_gadget(
205205
&self.gp,
206206
&self.rounding_parameter * &self.gp.base,
207-
&v.get_mat(),
207+
&v.get_representative_least_absolute_residue(),
208208
);
209209

210210
perturbation + trapdoor * z

0 commit comments

Comments
 (0)