There is a bug when the cost of a zerosum posting is under half of
EPSILON_DELTA (0.0099). When trying to find a matching posting,
find_match looks at the same posting. If the absolute difference of
the two postings is less than this delta, it says it's a match, and both
postings' account names are changed. If the two postings refer to the
same thing, we try to rename twice and get a
There is a bug when the cost of a zerosum posting is under half of
EPSILON_DELTA
(0.0099). When trying to find a matching posting,find_match
looks at the same posting. If the absolute difference of the two postings is less than this delta, it says it's a match, and both postings' account names are changed. If the two postings refer to the same thing, we try to rename twice and get aon
Fix this by avoiding looking at the same posting.