clockvector: fixup initialization
authorBrian Norris <banorris@uci.edu>
Mon, 28 May 2012 19:12:04 +0000 (12:12 -0700)
committerBrian Norris <banorris@uci.edu>
Mon, 28 May 2012 19:53:50 +0000 (12:53 -0700)
commit73cd0247207fb071effa55b9f39e3db711412d96
treec813dba16a85a17b512b472d0166e5101a7e9444
parent17e0164944342a21d72d1de5e77d633cf3c2a307
clockvector: fixup initialization

Two related fixes:

Even if parent is NULL, pass the current ModelAction to ClockVector
constructor.

When no parent is present, do not make special case for initializing
clock[0] = 1. This is only correct for a single case (the root Action)
and is already handled in other ways.
action.cc
clockvector.cc