summaryrefslogtreecommitdiff
path: root/ext/bigdecimal/lib
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-10 16:09:12 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-10 16:09:12 +0000
commitd1a5aa5685cfa12724116ce650cb5af3119cf103 (patch)
tree5b8bcc55cfadcc1a915199ad5f1601eee0f3e2f9 /ext/bigdecimal/lib
parentc053ad38cf8f92b64a0cc3e97d0accacd44df429 (diff)
* ext/bigdecimal/lib/bigdecimal/newton.rb (Newton::nlsolve): typo
fixed: raize -> raise. [ruby-talk:196608] * string.c (rb_str_ord): new method. * parse.y (rbracket): allow optional newline before closing brackets. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal/lib')
-rw-r--r--ext/bigdecimal/lib/bigdecimal/newton.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bigdecimal/lib/bigdecimal/newton.rb b/ext/bigdecimal/lib/bigdecimal/newton.rb
index f88fabe..f1a55da 100644
--- a/ext/bigdecimal/lib/bigdecimal/newton.rb
+++ b/ext/bigdecimal/lib/bigdecimal/newton.rb
@@ -60,7 +60,7 @@ module Newton
begin
fact *= p5
if fact < minfact then
- raize "Failed to reduce function values."
+ raise "Failed to reduce function values."
end
for i in 0...n do
x[i] = xs[i] - dx[i]*fact