diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-16 03:17:45 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-16 03:17:45 +0000 |
commit | b62792e54065cc2539985ccabc6426ec05dc60f2 (patch) | |
tree | 5a52392a8b775a9997feb19108d5c87c5b6b24d8 /lib/matrix.rb | |
parent | fc7676fcd6c66e6696008ef190d796d740b686a7 (diff) |
* lib/matrix.rb (hermitian?): Bug fix, patch by George Koehler
[Bug #6290] [rubyspec:4b9573d7613]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 |