Skip to content

Commit

Permalink
Fixed Errors on Clang
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarah Schneider committed Oct 5, 2022
1 parent f3def16 commit 4faa69c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/LogicTerm/TermImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,6 @@ bool TermImpl::deepEquals(const TermImpl& other) const {
if (getNodes().size() != other.getNodes().size()) {
return false;
}
// if (getID() != other.getID()) {
// return false;
// }
if (getCType() != other.getCType()) {
return false;
}
Expand All @@ -251,7 +248,7 @@ bool TermImpl::deepEquals(const TermImpl& other) const {
return false;
}
}
return true;
return this->getID() == other.getID();
}
void TermImpl::prettyPrint(std::ostream& os, int32_t printDepth) const {
for (int32_t i = 0; i < printDepth; ++i) {
Expand Down

0 comments on commit 4faa69c

Please sign in to comment.