On 11/11/2016 01:34 PM, John C via Digitalmars-d-learn wrote:
On Friday, 11 November 2016 at 20:55:52 UTC, Charles Hixson wrote:
Thank you.  Unfortunately:
import    std.math;
        ...
assert (isNan (c.curActivation), "cell has unexpected curActivation: %s".format(c.curActivation));

yields:
cell.d(292): Error: undefined identifier 'isNan', did you mean overloadset 'isnan'?

It should be isNaN.

Ok, now it seems the same as std.math.isnan, (i.e., it works properly). On looking over the error messages more closely (just now) I noticed that the line number had now changed. Whoops! It just *LOOKED* like the error hadn't been fixed, where it had actually moved onto the next one. The hint should have been that it was printing an integer value...I mean besides the changed line number.

Reply via email to