We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 548b30b commit 1c6e928Copy full SHA for 1c6e928
1 file changed
models/abc.h
@@ -101,7 +101,7 @@ namespace ecolab {
101
assert(numOutputs()==1);
102
std::vector<I> workspace(Abc_NtkObjNumMax(aig));
103
for (unsigned i=0; i<numInputs(); ++i)
104
- workspace[abc::Abc_ObjId(&input(i))]=input[i];
+ workspace[abc::Abc_ObjId(&this->input(i))]=input[i];
105
AbcNodes orderedNodes(aig);
106
for (auto obj: orderedNodes)
107
if (obj)
@@ -113,7 +113,7 @@ namespace ecolab {
113
if (abc::Abc_ObjFaninC1(obj)) v1 = ~v1;
114
workspace[abc::Abc_ObjId(obj)] = v0 & v1;
115
}
116
- auto r=workspace[abc::Abc_ObjId(&output(0))];
+ auto r=workspace[abc::Abc_ObjFaninId0(&output(0))];
117
return abc::Abc_ObjFaninC0(&output(0))? ~r: r;
118
119
};
0 commit comments