Re: [AMBER-Developers] IEEE_OVERFLOW_FLAG

From: David Case <david.case.rutgers.edu>
Date: Mon, 12 Nov 2018 22:10:27 +0000

On Sat, Nov 10, 2018, Jason Swails wrote:
>
>The point is, initialization is almost *always* a good thing to do.

In this particular case, one should consider intializing the force
array to NaN, not to zero. That way, any attempted use (before proper
initialization) will trigger a error fault. More to the point, future
code tweaks that failed to realize that the array was not ready for use
after its creation might be spotted immediately.

Caveat: I don't know anything about the details of this particular array
and its use.

....dac


_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Mon Nov 12 2018 - 14:30:02 PST
Custom Search