diff --git a/lib/nmatrix/shortcuts.rb b/lib/nmatrix/shortcuts.rb index 07ff50fd..6be366aa 100644 --- a/lib/nmatrix/shortcuts.rb +++ b/lib/nmatrix/shortcuts.rb @@ -200,7 +200,7 @@ def [](*params) #shape.unshift(1) if shape.size == 1 # Then flatten the array. - NMatrix.new(shape, params.flatten, options) + NMatrix.new(shape, params.flatten, **options) end # diff --git a/lib/nmatrix/version.rb b/lib/nmatrix/version.rb index e4c4a3b2..146df200 100644 --- a/lib/nmatrix/version.rb +++ b/lib/nmatrix/version.rb @@ -29,7 +29,7 @@ class NMatrix module VERSION #:nodoc: MAJOR = 0 MINOR = 2 - TINY = 4 + TINY = 5 #PRE = "a" STRING = [MAJOR, MINOR, TINY].compact.join(".")