You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
breaking it up, the ILL seems to come from the last function call in here:
``rust
let state = &mut state.as_mut().0;
let constraint = constraint.as_ref();
if let Some(cs) = &mut state.system {
let constraint: BasicSnarkyConstraint<FieldVar> =
convert_basic_constraint(constraint);
where the function is defined as:
```rust
pub fn convert_basic_constraint<F, CamlFVar>(
constraint: &BasicSnarkyConstraint<CamlFVar>,
) -> BasicSnarkyConstraint<FieldVar<F>>
where
F: PrimeField,
for<'a> FieldVar<F>: From<&'a CamlFVar>,
{
use BasicSnarkyConstraint::*;
match constraint {
Boolean(a) => Boolean(a.into()),
Equal(a, b) => Equal(a.into(), b.into()),
Square(a, b) => Square(a.into(), b.into()),
R1CS(a, b, c) => R1CS(a.into(), b.into(), c.into()),
}
}
trying to debug print the CamlFVar here gives me a different signal: "Command got signal SEGV." (and now a "Command got signal ABRT.", I'm collecting them all!)
getting this error due to this code:
Looks like it does not like
&mut state.as_mut().0.system
. I'm not sure exactly why :DThe text was updated successfully, but these errors were encountered: