ext/numo/narray/gen/tmpl_bit/each.c in numo-narray-0.9.0.4 vs ext/numo/narray/gen/tmpl_bit/each.c in numo-narray-0.9.0.5
- old
+ new
@@ -26,16 +26,16 @@
}
/*
Calls the given block once for each element in self,
passing that element as a parameter.
- @overload <%=method%>
+ @overload <%=name%>
@return [Numo::NArray] self
For a block {|x| ... }
@yield [x] x is element of NArray.
*/
static VALUE
-<%=c_func%>(VALUE self)
+<%=c_func(0)%>(VALUE self)
{
ndfunc_arg_in_t ain[1] = {{Qnil,0}};
ndfunc_t ndf = {<%=c_iter%>, FULL_LOOP_NIP, 1,0, ain,0};
na_ndloop(&ndf, 1, self);