Skip to content

Commit

Permalink
perf: replace assert with debug_assert for data validation (#686)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oppen authored Nov 15, 2023
1 parent 08e9444 commit c8d827f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provers/stark/src/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl<'t, F: IsFFTField> Table<F> {
}

// Check that the one-dimensional data makes sense to be interpreted as a 2D one.
assert!(crate::debug::validate_2d_structure(&data, width));
debug_assert!(crate::debug::validate_2d_structure(&data, width));
let height = data.len() / width;

Self {
Expand Down

0 comments on commit c8d827f

Please sign in to comment.