Skip to content

Commit 5940520

Browse files
committed
Resolve solver translation issue.
1 parent 522e4fb commit 5940520

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/solver_context/_impl_bn_solver_context.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,10 +286,11 @@ impl<'z3> BnSolverContext<'z3> {
286286
let args: Vec<Bool> = args
287287
.iter()
288288
.map(|it| {
289-
variable_constructors[it.to_index()]
290-
.apply(&[])
291-
.as_bool()
292-
.unwrap()
289+
self.translate_update_function(
290+
it,
291+
variable_constructors,
292+
parameter_constructors,
293+
)
293294
})
294295
.collect::<Vec<_>>();
295296
let arg_refs: Vec<&dyn Ast<'z3>> = args.iter().map(|it| it as &dyn Ast).collect();

0 commit comments

Comments
 (0)