vector_space 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vector_space/vector_space.rb +2 -2
- metadata +2 -2
@@ -86,11 +86,11 @@ module VectorSpace
|
|
86
86
|
end
|
87
87
|
|
88
88
|
def eql?(other)
|
89
|
-
map_values(
|
89
|
+
map_values(components, other) { |a, b| a.eql?(b) }.all?
|
90
90
|
end
|
91
91
|
|
92
92
|
def hash
|
93
|
-
map_values(
|
93
|
+
map_values(components) { |value| value }.hash
|
94
94
|
end
|
95
95
|
|
96
96
|
private
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vector_space
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Stuart
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-11-20 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|