Skip to content

Commit

Permalink
fixup! experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherlam committed Apr 29, 2024
1 parent 9a896f0 commit 5c620a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libgnucash/engine/Account.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@ gnc_account_foreach_split_until_date (const Account *acc, time64 end_date,
return;

auto before_date = [](time64 end_date, auto s) -> bool
{ return (xaccTransGetDate (xaccSplitGetParent (s)) <= end_date); };
{ return (xaccTransGetDate (xaccSplitGetParent (s)) > end_date); };

auto splits{GET_PRIVATE(acc)->splits};
auto after_date_iter = std::upper_bound (splits.begin(), splits.end(), end_date, before_date);
Expand Down

0 comments on commit 5c620a0

Please sign in to comment.