diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2019-01-03 00:13:09 -0200 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2019-01-03 00:13:09 -0200 |
commit | 65e2add5f9ff804c64303c1c7b36141a25ea21b7 (patch) | |
tree | 5c3eaada82897ec6d67dd842767206c920fc6daf | |
parent | f62eb635d16201d0c1780ae22d71a18fc9a525b3 (diff) | |
download | abc-65e2add5f9ff804c64303c1c7b36141a25ea21b7.tar.gz abc-65e2add5f9ff804c64303c1c7b36141a25ea21b7.tar.bz2 abc-65e2add5f9ff804c64303c1c7b36141a25ea21b7.zip |
Bug fix in WLN datastructure.
-rw-r--r-- | src/base/wln/wlnNtk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/wln/wlnNtk.c b/src/base/wln/wlnNtk.c index 39c03964..a845b55e 100644 --- a/src/base/wln/wlnNtk.c +++ b/src/base/wln/wlnNtk.c @@ -175,7 +175,7 @@ int Wln_ObjDup( Wln_Ntk_t * pNew, Wln_Ntk_t * p, int iObj ) if ( Wln_ObjIsConst(p, iObj) ) Wln_ObjSetConst( pNew, iObjNew, Wln_ObjFanin0(p, iObj) ); else if ( Wln_ObjIsSlice(p, iObj) || Wln_ObjIsRotate(p, iObj) || Wln_ObjIsTable(p, iObj) ) - Wln_ObjSetFanin( p, iObjNew, 1, Wln_ObjFanin1(p, iObj) ); + Wln_ObjSetFanin( pNew, iObjNew, 1, Wln_ObjFanin1(p, iObj) ); Wln_ObjSetCopy( p, iObj, iObjNew ); return iObjNew; } |