Skip to content

Commit

Permalink
fix: .rev() -> renaming in smart preds ok -> old & new preds consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukáš Chudíček committed Dec 11, 2023
1 parent 2efc842 commit 1f9bb24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/update/update_fn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ where
.raw_bdd_variables()
.into_iter()
.zip(primed_domain.raw_bdd_variables())
.rev() // it's magic
.fold(source_states_set, |mut acc, (unprimed, primed)| {
unsafe { acc.rename_variable(unprimed, primed) };
acc
Expand Down

0 comments on commit 1f9bb24

Please sign in to comment.