Skip to content

Commit 0086820

Browse files
committed
fix RObject#sum,prod (#169)
1 parent c50ee6b commit 0086820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/numo/narray/gen/spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@
274274
cond_unary "isfinite"
275275
end
276276

277-
if is_int
277+
if is_int && !is_object
278278
if is_unsigned
279279
accum "sum","u_int64_t","numo_cUInt64"
280280
accum "prod","u_int64_t","numo_cUInt64"

0 commit comments

Comments
 (0)