std.math.poly(real x, real[] A) should be: std.math.poly(real x, const real[] A).
Fixed a long time ago.