From ba063a1b557a548cbedd963f6bcdf176df14ee8e Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Mon, 13 Jul 2020 11:23:11 -0700 Subject: Correctly handling transfer of additional AIG info when AIG has no internal nodes. --- src/aig/gia/giaFx.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/aig/gia/giaFx.c') diff --git a/src/aig/gia/giaFx.c b/src/aig/gia/giaFx.c index c6eae6c7..032ae5fc 100644 --- a/src/aig/gia/giaFx.c +++ b/src/aig/gia/giaFx.c @@ -460,7 +460,11 @@ Gia_Man_t * Gia_ManPerformFx( Gia_Man_t * p, int nNewNodesMax, int LitCountMax, Vec_Wec_t * vCubes; Vec_Str_t * vCompl; if ( Gia_ManAndNum(p) == 0 ) - return Gia_ManDup(p); + { + pNew = Gia_ManDup(p); + Gia_ManTransferTiming( pNew, p ); + return pNew; + } // abctime clk; assert( Gia_ManHasMapping(p) ); // collect information -- cgit v1.2.3