From: David Case <>
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.


AMBER-Developers mailing list
Received on Mon Nov 12 2018 - 14:30:02 PST
Custom Search