Skip to content

Commit

Permalink
Use main branch of sim-circuit (#80)
Browse files Browse the repository at this point in the history
* Use main branch of sim-circuit

* fmt
  • Loading branch information
voltrevo authored Jul 15, 2024
1 parent 6e28021 commit a697063
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ circom-type_analysis = { git = "https://github.com/iden3/circom", package = "typ
# MPZ
mpz-circuits = { git = "https://github.com/privacy-scaling-explorations/mpz", package = "mpz-circuits" }
bmr16-mpz = { git = "https://github.com/tkmct/mpz", package = "mpz-circuits" }
sim-circuit = { git = "https://github.com/voltrevo/sim-circuit", branch = "c2a-issue-38-better-circuit-struct" }
sim-circuit = { git = "https://github.com/brech1/sim-circuit" }
6 changes: 4 additions & 2 deletions src/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,10 @@ impl Compiler {
let signal = &self.signals[signal_id];

if let Some(value) = signal.value {
constant_to_node_id_and_value
.insert(format!("{}_{}",signal.name.clone(),signal_id), (*node_id, value.to_string()));
constant_to_node_id_and_value.insert(
format!("{}_{}", signal.name.clone(), signal_id),
(*node_id, value.to_string()),
);
}
}
}
Expand Down

0 comments on commit a697063

Please sign in to comment.