lsh 0.4.1-java → 0.4.2-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -77,7 +77,7 @@ module LSH
77
77
  @projections ||= (
78
78
  projections = []
79
79
  parameters[:number_of_independent_projections].times do |i|
80
- m = MathUtil.zeros(parameters[:dim], parameters[:number_of_random_vectors])
80
+ m = MathUtil.zeros(parameters[:number_of_random_vectors], parameters[:dim])
81
81
  m.load(File.join(@data_dir, 'projections', "projection_#{i}.dat"))
82
82
  projections << m
83
83
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lsh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  prerelease:
6
6
  platform: java
7
7
  authors: