Guarantee that we inherit the correct variable type.
This commit is contained in:
parent
92029393f6
commit
1fc640e88f
@ -95,7 +95,7 @@ pub trait ConstraintSystem<E: Engine>: Sized {
|
||||
|
||||
/// Represents the type of the "root" of this constraint system
|
||||
/// so that nested namespaces can minimize indirection.
|
||||
type Root: ConstraintSystem<E>;
|
||||
type Root: ConstraintSystem<E, Variable=Self::Variable>;
|
||||
|
||||
/// Return the "one" input variable
|
||||
fn one(&self) -> Self::Variable;
|
||||
|
Loading…
Reference in New Issue
Block a user