ext/numo/narray/gen/narray_def.rb in numo-narray-0.9.0.5 vs ext/numo/narray/gen/narray_def.rb in numo-narray-0.9.0.6

- old
+ new

@@ -18,17 +18,17 @@ def pow def_method("pow", "pow", op:"**") end - def unary2(meth, dtype, tpclass) - h = {dtype:dtype, tpclass:tpclass} + def unary2(meth, dtype, result_class) + h = {dtype:dtype, result_class:result_class} def_method(meth, "unary2", **h) end - def set2(meth, dtype, tpclass) - h = {dtype:dtype, tpclass:tpclass} + def set2(meth, dtype, result_class) + h = {dtype:dtype, result_class:result_class} def_method(meth, "set2", h) end def cond_binary(meth,op=nil) op = meth unless op @@ -46,11 +46,11 @@ def bit_reduce(meth, init_bit) h = {init_bit:init_bit} def_method(meth, "bit_reduce", **h) end - def accum(meth, dtype, tpclass) - h = {dtype:dtype, tpclass:tpclass} + def accum(meth, dtype, result_class) + h = {dtype:dtype, result_class:result_class} def_method(meth, "accum", **h) end def accum_index(meth) def_method(meth, "accum_index")