On Monday, 18 September 2017 at 18:49:54 UTC, ag0aep6g wrote:

Doesn't work for me. This still fails compilation with the same error:

----
import std.algorithm.iteration : sum, cumulativeFold;
void main()
{
    double[5] a;
    auto asum = 1.23;
    auto jProbs = a[].cumulativeFold!((a, b) => (a + b)/asum);
}
----

So, this is a bug, isn't it? I assume, I should file it then...


Reply via email to