diff options
Diffstat (limited to 'src/opt/rwr/rwrEva.c')
-rw-r--r-- | src/opt/rwr/rwrEva.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/opt/rwr/rwrEva.c b/src/opt/rwr/rwrEva.c index 5d826da9..83eb8d7b 100644 --- a/src/opt/rwr/rwrEva.c +++ b/src/opt/rwr/rwrEva.c @@ -18,10 +18,9 @@ ***********************************************************************/ -#include "extra.h" #include "rwr.h" -#include "dec.h" -#include "ivy.h" +#include "src/bool/dec/dec.h" +#include "src/aig/ivy/ivy.h" ABC_NAMESPACE_IMPL_START @@ -487,7 +486,7 @@ int Rwr_NodeGetDepth_rec( Abc_Obj_t * pObj, Vec_Ptr_t * vLeaves ) return 0; Depth0 = Rwr_NodeGetDepth_rec( Abc_ObjFanin0(pObj), vLeaves ); Depth1 = Rwr_NodeGetDepth_rec( Abc_ObjFanin1(pObj), vLeaves ); - return 1 + ABC_MAX( Depth0, Depth1 ); + return 1 + Abc_MaxInt( Depth0, Depth1 ); } |