ext/numo/narray/gen/tmpl/powint.c in numo-narray-0.9.0.4 vs ext/numo/narray/gen/tmpl/powint.c in numo-narray-0.9.0.5
- old
+ new
@@ -1,5 +1,5 @@
-static dtype pow_<%=tp%>(dtype x, int p)
+static dtype pow_<%=type_name%>(dtype x, int p)
{
dtype r = m_one;
switch(p) {
case 2: return m_square(x);
case 3: return m_mul(m_square(x),x);