You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given this code
----
import std.algorithm.iteration : sum, cumulativeFold;
void main()
{
double[5] a;
auto asum = 1.23;
auto jProbs = a[].cumulativeFold!((a, b) => (a + b)/asum);
}
----
The last line does not compile.
See
https://forum.dlang.org/post/mplrntaplbtsoyxkwpqn@forum.dlang.org
probably related to
https://issues.dlang.org/show_bug.cgi?id=11886 ?
Used compiler:
DMD64 D Compiler v2.076.0
on a Mac.
The text was updated successfully, but these errors were encountered:
Alex reported this on 2017-09-19T22:03:22Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=17841
CC List
Description
The text was updated successfully, but these errors were encountered: