summaryrefslogtreecommitdiffstats
path: root/src/aig
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2017-01-30 08:39:26 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2017-01-30 08:39:26 -0800
commite21c7d72f3f43f38e5af10a38602de6f6ce9a20e (patch)
tree5588d95ce29d853efe311c7c63caf0a64f63d971 /src/aig
parent3020d57ea67f7f897c93524b9c3025767db3933b (diff)
downloadabc-e21c7d72f3f43f38e5af10a38602de6f6ce9a20e.tar.gz
abc-e21c7d72f3f43f38e5af10a38602de6f6ce9a20e.tar.bz2
abc-e21c7d72f3f43f38e5af10a38602de6f6ce9a20e.zip
Updates to arithmetic verification.
Diffstat (limited to 'src/aig')
-rw-r--r--src/aig/gia/giaUtil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aig/gia/giaUtil.c b/src/aig/gia/giaUtil.c
index eccdbc73..c7af642e 100644
--- a/src/aig/gia/giaUtil.c
+++ b/src/aig/gia/giaUtil.c
@@ -937,8 +937,8 @@ int Gia_ObjRecognizeExor( Gia_Obj_t * pObj, Gia_Obj_t ** ppFan0, Gia_Obj_t ** pp
return 0;
if ( Gia_ObjFaninC0(p0) == Gia_ObjFaninC0(p1) || Gia_ObjFaninC1(p0) == Gia_ObjFaninC1(p1) )
return 0;
- *ppFan0 = Gia_ObjChild0(p0);
- *ppFan1 = Gia_ObjChild1(p0);
+ if ( ppFan0 ) *ppFan0 = Gia_ObjChild0(p0);
+ if ( ppFan1 ) *ppFan1 = Gia_ObjChild1(p0);
return 1;
}