Skip to content

Commit

Permalink
fix RObject#sum,prod (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
masa16 committed Dec 13, 2020
1 parent c50ee6b commit 0086820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/numo/narray/gen/spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
cond_unary "isfinite"
end

if is_int
if is_int && !is_object
if is_unsigned
accum "sum","u_int64_t","numo_cUInt64"
accum "prod","u_int64_t","numo_cUInt64"
Expand Down

0 comments on commit 0086820

Please sign in to comment.