summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-21 20:04:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-21 20:04:10 +0000
commitdb369aa32b7ca3b9b44ca3139ee6a2ace473fc07 (patch)
treec7d225f3e3bb8b5b7d07c491de26a4bf07c71080 /ext
parent87c7f87519e5656ab6c779dc7d8615adc8900d4b (diff)
downloadruby-db369aa32b7ca3b9b44ca3139ee6a2ace473fc07.tar.gz
ruby-db369aa32b7ca3b9b44ca3139ee6a2ace473fc07.tar.xz
ruby-db369aa32b7ca3b9b44ca3139ee6a2ace473fc07.zip
* ext/bigdecimal/lib/bigdecimal/{ludcmp,math}.rb: depend on
bigdecimal. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/bigdecimal/lib/bigdecimal/ludcmp.rb2
-rw-r--r--ext/bigdecimal/lib/bigdecimal/math.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/ext/bigdecimal/lib/bigdecimal/ludcmp.rb b/ext/bigdecimal/lib/bigdecimal/ludcmp.rb
index 9b2c3d233..6cbe29b6d 100644
--- a/ext/bigdecimal/lib/bigdecimal/ludcmp.rb
+++ b/ext/bigdecimal/lib/bigdecimal/ludcmp.rb
@@ -1,3 +1,5 @@
+require 'bigdecimal'
+
#
# Solves a*x = b for x, using LU decomposition.
#
diff --git a/ext/bigdecimal/lib/bigdecimal/math.rb b/ext/bigdecimal/lib/bigdecimal/math.rb
index 191884eb1..2771c77b6 100644
--- a/ext/bigdecimal/lib/bigdecimal/math.rb
+++ b/ext/bigdecimal/lib/bigdecimal/math.rb
@@ -1,3 +1,5 @@
+require 'bigdecimal'
+
#
#--
# Contents: