Skip to content

Commit c8b2916

Browse files
committed
minor opti
1 parent f8a8069 commit c8b2916

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/lean_prover/src/common.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,12 @@ impl PrecompileFootprint {
210210
point[PRECOMP_INDEX_AUX],
211211
self.fingerprint_challenge_powers[4],
212212
)
213-
+ ResultF::from_usize(TABLE_INDEX_POSEIDONS_16))
213+
+ PointF::from_usize(TABLE_INDEX_POSEIDONS_16))
214214
* point[PRECOMP_INDEX_POSEIDON_16]
215215
+ (nu_a * self.fingerprint_challenge_powers[1]
216216
+ nu_b * self.fingerprint_challenge_powers[2]
217217
+ nu_c * self.fingerprint_challenge_powers[3]
218-
+ ResultF::from_usize(TABLE_INDEX_POSEIDONS_24))
218+
+ PointF::from_usize(TABLE_INDEX_POSEIDONS_24))
219219
* point[PRECOMP_INDEX_POSEIDON_24]
220220
+ (nu_a * self.fingerprint_challenge_powers[1]
221221
+ nu_b * self.fingerprint_challenge_powers[2]
@@ -224,7 +224,7 @@ impl PrecompileFootprint {
224224
point[PRECOMP_INDEX_AUX],
225225
self.fingerprint_challenge_powers[4],
226226
)
227-
+ ResultF::from_usize(TABLE_INDEX_DOT_PRODUCTS))
227+
+ PointF::from_usize(TABLE_INDEX_DOT_PRODUCTS))
228228
* point[PRECOMP_INDEX_DOT_PRODUCT]
229229
+ (nu_a * self.fingerprint_challenge_powers[1]
230230
+ nu_b * self.fingerprint_challenge_powers[2]
@@ -233,7 +233,7 @@ impl PrecompileFootprint {
233233
point[PRECOMP_INDEX_AUX],
234234
self.fingerprint_challenge_powers[4],
235235
)
236-
+ ResultF::from_usize(TABLE_INDEX_MULTILINEAR_EVAL))
236+
+ PointF::from_usize(TABLE_INDEX_MULTILINEAR_EVAL))
237237
* point[PRECOMP_INDEX_MULTILINEAR_EVAL]
238238
+ self.global_challenge
239239
}

0 commit comments

Comments
 (0)