read_aiger: discard LUT inputs with nodeID == 0; not < 2

This commit is contained in:
Eddie Hung 2020-01-21 11:56:01 -08:00
parent 7f728bc116
commit cd093c00f8
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,7 @@ void AigerReader::parse_xaiger()
for (unsigned j = 0; j < cutLeavesM; ++j) {
nodeID = parse_xaiger_literal(f);
log_debug2("\t%u\n", nodeID);
if (nodeID < 2) {
if (nodeID == 0) {
log_debug("\tLUT '$lut$aiger%d$%d' input %d is constant!\n", aiger_autoidx, rootNodeID, cutLeavesM);
continue;
}