https://issues.dlang.org/show_bug.cgi?id=13304

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
(In reply to Vladimir Panteleev from comment #0)
> /////////////////// test.d ///////////////////
> import std.algorithm;
> 
> void main()
> {
>     float[] nums;
>     float sum = reduce!((a,b) => a + b)(nums);
> }
> //////////////////////////////////////////////
> 
> Introduced in https://github.com/D-Programming-Language/phobos/pull/2060

Seems its a glitch in the way the assertion code is written. The good news is
there is no logical fallacy in the algorithm.

I'll give it a quick fix.

--

Reply via email to