Guarantee that we inherit the correct variable type.

This commit is contained in:
Sean Bowe 2017-11-24 10:14:11 -07:00
parent 92029393f6
commit 1fc640e88f
1 changed files with 1 additions and 1 deletions

View File

@ -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;