ext/numo/narray/gen/tmpl_bit/store_array.c in numo-narray-0.9.0.4 vs ext/numo/narray/gen/tmpl_bit/store_array.c in numo-narray-0.9.0.5
- old
+ new
@@ -18,11 +18,11 @@
v1 = lp->args[1].value;
i = 0;
if (lp->args[1].ptr) {
if (v1 == Qtrue) {
- iter_<%=tp%>_store_<%=tp%>(lp);
+ iter_<%=type_name%>_store_<%=type_name%>(lp);
i = lp->args[1].shape[0];
if (idx1) {
idx1 += i;
} else {
p1 += s1 * i;
@@ -92,10 +92,10 @@
}
}
}
static VALUE
-<%=c_func%>(VALUE self, VALUE rary)
+<%=c_func(:nodef)%>(VALUE self, VALUE rary)
{
ndfunc_arg_in_t ain[2] = {{OVERWRITE,0}, {rb_cArray,0}};
ndfunc_t ndf = {<%=c_iter%>, FULL_LOOP, 2, 0, ain, 0};
na_ndloop_store_rarray(&ndf, self, rary);