We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b2ed7a commit fa3eb9eCopy full SHA for fa3eb9e
templates/post_ref_bindings.js
@@ -3,7 +3,7 @@ let Z3 = ffi.Library(libPath, GeneratedBindings);
3
Z3.bindings_model_eval = function(ctx, mdl, expr) {
4
var pAST = ref.alloc(Z3.Ast, null);
5
var result = Z3.Z3_model_eval(ctx, mdl, expr, true, pAST);
6
- return result > 0 ? pAST.deref() : null;
+ return result != 0 ? pAST.deref() : null;
7
}
8
9
//////// End Z3 function definitions
0 commit comments