Skip to content

Commit

Permalink
Modify the public api surrounding multiexp.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebfull committed Nov 12, 2017
1 parent e4c6218 commit 13a5cbf
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ use std::io;
pub mod multicore;
pub mod domain;
pub mod groth16;

pub mod multiexp;
// TODO: remove this from public API?
pub use self::multiexp::{DensityTracker, FullDensity, multiexp};

#[derive(Debug)]
pub enum Error {
Expand Down Expand Up @@ -58,8 +55,8 @@ impl<E: Engine> LinearCombination<E> {

pub fn eval(
&self,
mut input_density: Option<&mut DensityTracker>,
mut aux_density: Option<&mut DensityTracker>,
mut input_density: Option<&mut multiexp::DensityTracker>,
mut aux_density: Option<&mut multiexp::DensityTracker>,
input_assignment: &[E::Fr],
aux_assignment: &[E::Fr]
) -> E::Fr
Expand Down

0 comments on commit 13a5cbf

Please sign in to comment.