summaryrefslogtreecommitdiff
path: root/ext/bigdecimal/lib
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bigdecimal/lib')
-rw-r--r--ext/bigdecimal/lib/bigdecimal/newton.rb4
-rw-r--r--ext/bigdecimal/lib/bigdecimal/nlsolve.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/bigdecimal/lib/bigdecimal/newton.rb b/ext/bigdecimal/lib/bigdecimal/newton.rb
index 67a9247..f88fabe 100644
--- a/ext/bigdecimal/lib/bigdecimal/newton.rb
+++ b/ext/bigdecimal/lib/bigdecimal/newton.rb
@@ -20,8 +20,8 @@
# f.eps convergence criterion
# x ... initial values
#
-require "ludcmp"
-require "jacobian"
+require "bigdecimal/ludcmp"
+require "bigdecimal/jacobian"
module Newton
include LUSolve
diff --git a/ext/bigdecimal/lib/bigdecimal/nlsolve.rb b/ext/bigdecimal/lib/bigdecimal/nlsolve.rb
index 08f17f9..7f729e6 100644
--- a/ext/bigdecimal/lib/bigdecimal/nlsolve.rb
+++ b/ext/bigdecimal/lib/bigdecimal/nlsolve.rb
@@ -6,7 +6,7 @@
#
require "bigdecimal"
-require "newton"
+require "bigdecimal/newton"
include Newton
class Function