vector_space 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -86,11 +86,11 @@ module VectorSpace
86
86
  end
87
87
 
88
88
  def eql?(other)
89
- map_values(dimensions, other) { |a, b| a.eql?(b) }.all?
89
+ map_values(components, other) { |a, b| a.eql?(b) }.all?
90
90
  end
91
91
 
92
92
  def hash
93
- map_values(dimensions) { |value| value }.hash
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.2
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-10-23 00:00:00 +01:00
12
+ date: 2009-11-20 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies: []
15
15