style check complains about style in codex

This commit is contained in:
Dmitriy Ryajov 2023-12-18 16:03:48 -06:00
parent 9be7b0c134
commit aceccb2367
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4
2 changed files with 3 additions and 3 deletions

View File

@ -6,5 +6,5 @@ func compress*(a, b : F, key = zero) : F =
var x = a
var y = b
var z = key
permInplace(x, y, z)
permInPlace(x, y, z)
return x

View File

@ -2,7 +2,7 @@ import ./types
import ./roundfun
# the Poseidon2 permutation (mutable, in-place version)
proc permInplace*(x, y, z : var F) =
proc permInPlace*(x, y, z : var F) =
linearLayer(x, y, z)
for j in 0..3:
externalRound(j, x, y, z)
@ -14,5 +14,5 @@ proc permInplace*(x, y, z : var F) =
# the Poseidon2 permutation
func perm*(xyz: S) : S =
var (x,y,z) = xyz
permInplace(x, y, z)
permInPlace(x, y, z)
return (x,y,z)