We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c72e34c commit 54d7c8aCopy full SHA for 54d7c8a
lib/sequel_vectorized.rb
@@ -61,7 +61,7 @@ def _process data, axis
61
62
interp = GSL::Interp.alloc("linear", raw_axis.size) if interpolate
63
64
- data[axis_col] = NArray.float(new_size).indgen!(range.first,step)
+ data[axis_col] = NArray.float(new_size).indgen!(range.first.to_f,step)
65
66
data[:__raw_mask] = NArray.byte(new_size)
67
data[:__raw_mask][(raw_axis - range.first)/step.to_f] = 1
0 commit comments