Skip to content

Commit

Permalink
peek into virtual column
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirhemo committed Feb 27, 2024
1 parent c22a65d commit f8d1a22
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions air/src/virtual_column.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ impl<'a, F: Field> VirtualPairCol<'a, F> {
)
}

pub fn get_column_weights(&self) -> &[(PairCol, F)] {
&self.column_weights
}

pub const fn get_constant(&self) -> F {
self.constant
}

#[must_use]
pub fn one() -> Self {
Self::constant(F::one())
Expand Down

0 comments on commit f8d1a22

Please sign in to comment.