Skip to content

Commit

Permalink
go back to span
Browse files Browse the repository at this point in the history
  • Loading branch information
neotheprogramist committed Jan 16, 2024
1 parent e4749c8 commit 1b5a402
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/oods.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ struct OodsEvaluationInfo {
oods_values: Span<felt252>,
oods_point: felt252,
trace_generator: felt252,
constraint_coefficients: Array<felt252>,
constraint_coefficients: Span<felt252>,
}

fn verify_oods(
Expand Down Expand Up @@ -93,7 +93,7 @@ fn eval_oods_boundary_poly_at_points(
eval_oods_polynomial(
column_values.span(),
eval_info.oods_values,
eval_info.constraint_coefficients.span(),
eval_info.constraint_coefficients,
*points.at(i),
eval_info.oods_point,
eval_info.trace_generator,
Expand Down
2 changes: 1 addition & 1 deletion src/stark.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ struct StarkCommitment {
composition: TableCommitment,
interaction_after_composition: felt252,
oods_values: Span<felt252>,
interaction_after_oods: Array<felt252>,
interaction_after_oods: Span<felt252>,
fri: FriCommitment,
}

Expand Down
2 changes: 1 addition & 1 deletion src/stark/stark_commit.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fn stark_commit(
composition: composition_commitment,
interaction_after_composition: interaction_after_composition,
oods_values: *unsent_commitment.oods_values,
interaction_after_oods: oods_coefficients,
interaction_after_oods: oods_coefficients.span(),
fri: fri_commitment,
}
}

0 comments on commit 1b5a402

Please sign in to comment.