Julia Programming Language
Sum(i for i in Vector{Int}()) raises error instead of returning 0?
General Usage
question
,
proposal
e3c6
June 25, 2018, 11:15am
8
https://github.com/JuliaLang/julia/issues/27766
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Inconsistency in `sum` of an empty generator
Internals & Design
generator
,
sum
5
811
November 2, 2022
Should empty sum (and product) be defined?
Internals & Design
2
788
February 3, 2017
Understanding 'MethodError'
New to Julia
question
6
700
February 9, 2017
Sum of Any - Why sum of empty set is not zero?
General Usage
5
975
November 24, 2020
Type inference of sum result
General Usage
question
2
546
December 26, 2016