Skip to content

Commit

Permalink
Format 'binary_op' and its tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SSoelvsten committed Mar 12, 2024
1 parent 5ac21d0 commit cd3e039
Show file tree
Hide file tree
Showing 2 changed files with 221 additions and 332 deletions.
8 changes: 2 additions & 6 deletions src/adiar/bdd/apply.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,8 @@ namespace adiar
internal::tuple<bdd::pointer_type>
__resolve_request(const internal::tuple<bdd::pointer_type>& r) const
{
if (this->_op.can_left_shortcut(r[0])) {
return { r[0], bdd::pointer_type(true) };
}
if (this->_op.can_right_shortcut(r[1])) {
return { bdd::pointer_type(true), r[1] };
}
if (this->_op.can_left_shortcut(r[0])) { return { r[0], bdd::pointer_type(true) }; }
if (this->_op.can_right_shortcut(r[1])) { return { bdd::pointer_type(true), r[1] }; }
return r;
}

Expand Down
Loading

0 comments on commit cd3e039

Please sign in to comment.