Skip to content

Commit

Permalink
disable supernova by default
Browse files Browse the repository at this point in the history
  • Loading branch information
hero78119 committed Jul 16, 2023
1 parent a629a1b commit b97ef20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ name = "sha256"
harness = false

[features]
default = ["supernova"]
default = []
# Compiles in portable mode, w/o ISA extensions => binary can be executed on all systems.
portable = ["pasta-msm/portable"]
cuda = ["neptune/cuda", "neptune/pasta", "neptune/arity24"]
Expand Down
1 change: 1 addition & 0 deletions src/gadgets/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ pub fn select_num_or_one<F: PrimeField, CS: ConstraintSystem<F>>(
Ok(c)
}

#[allow(dead_code)]
/// c = a + b where a, b is AllocatedNum
pub fn add_allocated_num<F: PrimeField, CS: ConstraintSystem<F>>(
mut cs: CS,
Expand Down

0 comments on commit b97ef20

Please sign in to comment.