mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
Revert artifact
This commit is contained in:
parent
564b7a1b3a
commit
9a30054ff0
1 changed files with 1 additions and 1 deletions
|
|
@ -636,7 +636,7 @@ test "invNTTReductions bounds" {
|
||||||
fn invertMod(a: anytype, p: @TypeOf(a)) @TypeOf(a) {
|
fn invertMod(a: anytype, p: @TypeOf(a)) @TypeOf(a) {
|
||||||
const r = extendedEuclidean(@TypeOf(a), a, p);
|
const r = extendedEuclidean(@TypeOf(a), a, p);
|
||||||
assert(r.gcd == 1);
|
assert(r.gcd == 1);
|
||||||
return r.bezout_coeff_1;
|
return r.x;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reduce mod q for testing.
|
// Reduce mod q for testing.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue