mirror of
https://github.com/arnaucube/Nova.git
synced 2026-01-12 17:11:27 +01:00
Recursion implementation (#65)
* recursion attempt * address clippy * initialize the running instance and witness of the primary correctly * add asserts for debugging * fix a bug in AllocatedPoint * add debug statements * fix an issue with how we inputize hashes; remove debug statements * rename * cleanup * speedup tests * require step_circuit implementors to provide a way to execute step computation
This commit is contained in:
@@ -38,7 +38,7 @@ where
|
||||
Ok(coords.map_or(Fp::zero(), |c| c.0))
|
||||
})?;
|
||||
let y = AllocatedNum::alloc(cs.namespace(|| "y"), || {
|
||||
Ok(coords.map_or(Fp::zero(), |c| c.0))
|
||||
Ok(coords.map_or(Fp::zero(), |c| c.1))
|
||||
})?;
|
||||
let is_infinity = AllocatedNum::alloc(cs.namespace(|| "is_infinity"), || {
|
||||
Ok(if coords.map_or(true, |c| c.2) {
|
||||
|
||||
Reference in New Issue
Block a user