Commit f0efc6e0 by Alan Mishchenko

Prevent assertions from firing for deep logic networks.

parent 911c11af
...@@ -1106,8 +1106,8 @@ float If_CutAreaDerefed( If_Man_t * p, If_Cut_t * pCut ) ...@@ -1106,8 +1106,8 @@ float If_CutAreaDerefed( If_Man_t * p, If_Cut_t * pCut )
return 0; return 0;
aResult2 = If_CutAreaRef( p, pCut ); aResult2 = If_CutAreaRef( p, pCut );
aResult = If_CutAreaDeref( p, pCut ); aResult = If_CutAreaDeref( p, pCut );
assert( aResult > aResult2 - p->fEpsilon ); assert( aResult > aResult2 - 3*p->fEpsilon );
assert( aResult < aResult2 + p->fEpsilon ); assert( aResult < aResult2 + 3*p->fEpsilon );
return aResult; return aResult;
} }
...@@ -1207,8 +1207,8 @@ float If_CutEdgeDerefed( If_Man_t * p, If_Cut_t * pCut ) ...@@ -1207,8 +1207,8 @@ float If_CutEdgeDerefed( If_Man_t * p, If_Cut_t * pCut )
return pCut->nLeaves; return pCut->nLeaves;
aResult2 = If_CutEdgeRef( p, pCut ); aResult2 = If_CutEdgeRef( p, pCut );
aResult = If_CutEdgeDeref( p, pCut ); aResult = If_CutEdgeDeref( p, pCut );
assert( aResult > aResult2 - p->fEpsilon ); assert( aResult > aResult2 - 3*p->fEpsilon );
assert( aResult < aResult2 + p->fEpsilon ); assert( aResult < aResult2 + 3*p->fEpsilon );
return aResult; return aResult;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment