Use more descriptive synthesis errors now available in bellman.

This commit is contained in:
Sean Bowe
2018-02-16 08:45:17 -07:00
parent 683aa93b44
commit 814cfef769
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -396,7 +396,7 @@ impl<Var: Copy> Boolean<Var> {
Ok(())
},
Boolean::Constant(true) => {
Err(SynthesisError::AssignmentMissing)
Err(SynthesisError::Unsatisfiable)
},
Boolean::Is(ref res) => {
cs.enforce(