1
0
Fork 0
mirror of synced 2025-09-23 04:08:33 +00:00

Fix constant in mimc7

This commit is contained in:
Darko Macesic 2023-05-23 12:32:44 +02:00 committed by GitHub
parent 1c3187b062
commit 68f29e670d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,7 @@ const field[91] C = [
4212716923652881254737947578600828255798948993302968210248673545442808456151,
7594017890037021425366623750593200398174488805473151513558919864633711506220,
18979889247746272055963929241596362599320706910852082477600815822482192194401,
1360213922981323134938688511315690179366171918090039581890971975815045550053
13602139229813231349386885113156901793661719180900395818909719758150455500533
];
def main<R>(field x_in, field k) -> field {
@ -109,4 +109,4 @@ def main<R>(field x_in, field k) -> field {
}
return t6[R - 1] * t + k;
}
}