Skip to content

Commit

Permalink
Fix invalid expression in and-or-normal-form.
Browse files Browse the repository at this point in the history
  • Loading branch information
daemontus committed Jan 16, 2024
1 parent 10f1153 commit df3e73e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_impl_fn_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ impl FnUpdate {
Xor => {
// (left | right) & !(left & right)
let both = left.clone().and(right.clone());
let one = left.and(right);
let one = left.or(right);
one.and(both.negation())
}
Iff => {
Expand Down

0 comments on commit df3e73e

Please sign in to comment.