Skip to content

Commit

Permalink
fix: condition in new_multi_segment
Browse files Browse the repository at this point in the history
  • Loading branch information
Al-Kindi-0 committed Sep 12, 2024
1 parent 1ef47f5 commit ea608f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion air/src/air/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl<B: StarkField, P> AirContext<B, P> {
);
assert!(num_main_assertions > 0, "at least one assertion must be specified");

if !trace_info.logup_gkr_enabled() {
if trace_info.is_multi_segment() && !trace_info.logup_gkr_enabled() {
assert!(
!aux_transition_constraint_degrees.is_empty(),
"at least one transition constraint degree must be specified for the auxiliary trace segment"
Expand Down

0 comments on commit ea608f8

Please sign in to comment.