diff options
Diffstat (limited to 'lib/matrix.rb')
-rw-r--r-- | lib/matrix.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/matrix.rb b/lib/matrix.rb index 6853be8286..8f57c73904 100644 --- a/lib/matrix.rb +++ b/lib/matrix.rb @@ -614,7 +614,7 @@ class Matrix # def hermitian? Matrix.Raise ErrDimensionMismatch unless square? - each_with_index(:strict_upper).all? do |e, row, col| + each_with_index(:upper).all? do |e, row, col| e == rows[col][row].conj end end |