lib/xirr/bisection.rb in xirr-0.2.8 vs lib/xirr/bisection.rb in xirr-0.2.9
- old
+ new
@@ -38,10 +38,9 @@
end
private
- # @param right [BigDecimal]
# @param midpoint [BigDecimal]
# @return [Boolean]
# Checks if result is the right limit.
def right_limit_reached?(midpoint)
(@original_right - midpoint).abs < Xirr::EPS