Skip to content

Commit

Permalink
Remove always false condition for merge in Apply
Browse files Browse the repository at this point in the history
  • Loading branch information
SSoelvsten committed Aug 14, 2020
1 parent 2d07b5a commit 4eebf19
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/coom/apply.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,7 @@ namespace coom
{
//Check if we should read from appD or appD_data
if(appD_data.empty() ||
std::min(appD.top().t1, appD.top().t2) < std::max(appD_data.top().t1, appD_data.top().t2) ||
(std::min(appD.top().t1, appD.top().t2) == std::max(appD_data.top().t1, appD_data.top().t2)
&& std::max(appD.top().t1, appD.top().t2) < std::min(appD_data.top().t1, appD_data.top().t2)))
std::min(appD.top().t1, appD.top().t2) < std::max(appD_data.top().t1, appD_data.top().t2))
{
tuple current_tuple = appD.top();
appD.pop();
Expand Down

0 comments on commit 4eebf19

Please sign in to comment.