Project

General

Profile

Actions

Bug #560

closed

wrong definition of Vector#eql?

Added by yugui (Yuki Sonoda) over 15 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
Backport:
[ruby-dev:36294]

Description

=begin
Matrix#eql?と異なりVector#eql?は定義されていないのでvectorをハッシュのキーにすると、キーの同値性により引くことができません。

Vector#==のすぐ下でVector#eqn?が定義されているでtypoと思われます。

Actions

Also available in: Atom PDF

Like0
Like0