aboutsummaryrefslogtreecommitdiffstats
path: root/lib/matrix.rb
diff options
context:
space:
mode:
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