Skip to content

Commit

Permalink
fix ffi so that bdd_or is correct (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
camoy authored Oct 19, 2023
1 parent 1613459 commit 12a7a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ pub unsafe extern "C" fn bdd_or(
right: *mut BddPtr<'static>,
) -> *mut BddPtr<'static> {
let builder = robdd_builder_from_ptr(builder);
let or = builder.and(*left, *right);
let or = builder.or(*left, *right);
Box::into_raw(Box::new(or))
}

Expand Down

0 comments on commit 12a7a0e

Please sign in to comment.