Fix inverted sync/async message.

This commit is contained in:
Wilson Snyder 2017-09-22 18:57:53 -04:00
parent 89f414b185
commit b64e1b4a49
1 changed files with 2 additions and 2 deletions

View File

@ -437,9 +437,9 @@ private:
if (m_inSenItem) varscp->user2(true);
else if (m_activep && m_activep->hasClocked() && !nodep->lvalue()) {
if (varscp->user2()) {
if (!vvertexp->rstSyncNodep()) vvertexp->rstSyncNodep(nodep);
} else {
if (!vvertexp->rstAsyncNodep()) vvertexp->rstAsyncNodep(nodep);
} else {
if (!vvertexp->rstSyncNodep()) vvertexp->rstSyncNodep(nodep);
}
}
// We use weight of one; if we ref the var more than once, when we simplify,