aboutsummaryrefslogtreecommitdiffstats
path: root/lib/matrix.rb
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-28 18:21:17 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-28 18:21:17 +0000
commit23798cd67bb80a025241d8e08cbb281da08d80a9 (patch)
tree30cc4481be3fc96d4ee26690d089f33b9fcd3eab /lib/matrix.rb
parent4e2350539807abcdeb098da8d4ac7fd5f0b4c80a (diff)
downloadruby-23798cd67bb80a025241d8e08cbb281da08d80a9.tar.gz
* lib/matrix.rb: Fix determinant_e [ruby-dev:46305] [Bug #7228]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/matrix.rb')
-rw-r--r--lib/matrix.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/matrix.rb b/lib/matrix.rb
index 00fa762da6..3ffd0ddc78 100644
--- a/lib/matrix.rb
+++ b/lib/matrix.rb
@@ -1089,7 +1089,7 @@ class Matrix
#
def determinant_e
warn "#{caller(1)[0]}: warning: Matrix#determinant_e is deprecated; use #determinant"
- rank
+ determinant
end
alias det_e determinant_e