diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-10 16:09:12 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-10 16:09:12 +0000 |
commit | f9b1d4b174128bd92d35fe4b5b2556b57f799bfe (patch) | |
tree | 5b8bcc55cfadcc1a915199ad5f1601eee0f3e2f9 /ext/bigdecimal | |
parent | 9cb7e8d4a8269a2992232f535ab9e3561d7ecbe9 (diff) | |
download | ruby-f9b1d4b174128bd92d35fe4b5b2556b57f799bfe.tar.gz ruby-f9b1d4b174128bd92d35fe4b5b2556b57f799bfe.tar.xz ruby-f9b1d4b174128bd92d35fe4b5b2556b57f799bfe.zip |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@10242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal')
-rw-r--r-- | ext/bigdecimal/lib/bigdecimal/newton.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bigdecimal/lib/bigdecimal/newton.rb b/ext/bigdecimal/lib/bigdecimal/newton.rb index f88fabe5d..f1a55da78 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 |