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 e0095e929e..222bf4b698 100644
--- a/lib/matrix.rb
+++ b/lib/matrix.rb
@@ -569,7 +569,7 @@ class Matrix
#
# Returns the inverse of the matrix.
- # Matrix[[1, 2], [2, 1]].inverse
+ # Matrix[[-1, -1], [0, -1]].inverse
# => -1 1
# 0 -1
#