blob: 13e7c0061c8570777efb733f475d3f34efdc8ebd [file] [log] [blame]
// PERMUTE_ARGS:
// REQUIRED_ARGS: -O
void main()
{
}
struct Line
{
double slope;
double intercept;
}
Line nLineProjection(double[] historicData)
{
Line projLine;
projLine.intercept = historicData[$-1] + projLine.slope;
return projLine;
}