Forum: Ruby little bug in newton.rb

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
48d1aca7191f2d16e184971054c7c143?d=identicon&s=25 Meinrad Recheis (Guest)
on 2006-06-09 22:08
(Received via mailing list)
dear all,
i just spotted a little bug in ruby/lib/1.8/bigdeciaml/newton.rb
there in line 63 it says:

          raize "Failed to reduce function values."

this will raise a NoMethod error instead of the intended RuntimeError
with the given message.
also there are no unittests added to the files in bigdecimal. are they
completely lacking unittests or are the tests somewhere else?

best wishes,
-- henon
Aee77dba395ece0a04c688b05b07cd63?d=identicon&s=25 Daniel Berger (Guest)
on 2006-06-10 18:40
(Received via mailing list)
Meinrad Recheis wrote:
>
> best wishes,
> -- henon
>
>

You should report this on the RubyForge bug tracker:

http://rubyforge.org/tracker/?atid=1698&group_id=4...

Regards,

Dan
This topic is locked and can not be replied to.