multiarray 0.15.2 → 0.15.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/multiarray/operations.rb +2 -2
  3. metadata +7 -2
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'rake/packagetask'
6
6
  require 'rbconfig'
7
7
 
8
8
  PKG_NAME = 'multiarray'
9
- PKG_VERSION = '0.15.2'
9
+ PKG_VERSION = '0.15.3'
10
10
  RB_FILES = FileList[ 'lib/**/*.rb' ]
11
11
  TC_FILES = FileList[ 'test/tc_*.rb' ]
12
12
  TS_FILES = FileList[ 'test/ts_*.rb' ]
@@ -582,7 +582,7 @@ module Hornetseye
582
582
  Hornetseye::lazy( *shape ) { |*args| args[i] }
583
583
  end
584
584
  end
585
- warp *field, :safe => false
585
+ warp *( field + [ :safe => false ] )
586
586
  end
587
587
 
588
588
  def shift( *offset )
@@ -638,7 +638,7 @@ module Hornetseye
638
638
  field = ( 0 ... dimension ).collect do |i|
639
639
  Hornetseye::lazy( *ret_shape ) { |*args| args[i] * rate[i] + offset[i] }
640
640
  end
641
- warp *field, :safe => false
641
+ warp *( field + [ :safe => false ] )
642
642
  end
643
643
 
644
644
  #def scale( *ret_shape )
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multiarray
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 37
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 15
8
- - 2
9
- version: 0.15.2
9
+ - 3
10
+ version: 0.15.3
10
11
  platform: ruby
11
12
  authors:
12
13
  - Jan Wedekind
@@ -25,6 +26,7 @@ dependencies:
25
26
  requirements:
26
27
  - - ~>
27
28
  - !ruby/object:Gem::Version
29
+ hash: 13
28
30
  segments:
29
31
  - 1
30
32
  - 1
@@ -39,6 +41,7 @@ dependencies:
39
41
  requirements:
40
42
  - - ">="
41
43
  - !ruby/object:Gem::Version
44
+ hash: 3
42
45
  segments:
43
46
  - 0
44
47
  version: "0"
@@ -114,6 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
117
  requirements:
115
118
  - - ">="
116
119
  - !ruby/object:Gem::Version
120
+ hash: 3
117
121
  segments:
118
122
  - 0
119
123
  version: "0"
@@ -122,6 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
126
  requirements:
123
127
  - - ">="
124
128
  - !ruby/object:Gem::Version
129
+ hash: 3
125
130
  segments:
126
131
  - 0
127
132
  version: "0"