summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-10 23:27:39 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-10 23:27:39 +0000
commit9347df877d5059d16e73af00dad0467b3c84f318 (patch)
treea6f2588c348d558af5e3e3d5d19a6fb1ca74bb85 /ext
parent2b83e46d592a96d9acf54fd65871d1ebaefe9ec6 (diff)
downloadruby-9347df877d5059d16e73af00dad0467b3c84f318.tar.gz
ruby-9347df877d5059d16e73af00dad0467b3c84f318.tar.xz
ruby-9347df877d5059d16e73af00dad0467b3c84f318.zip
* ext/bigdecimal/lib/bigdecimal/newton.rb (Newton::nlsolve): typo
fixed: raize -> raise. [ruby-talk:196608] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-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 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