[poincare] Remove un-needed assert.

Change-Id: I2eb568d440f2e4f484d0ff358a55f4ba782c263b
This commit is contained in:
Léa Saviot
2018-04-20 11:18:19 +02:00
parent 3d7615b3e1
commit 08f3c834c6

View File

@@ -146,7 +146,6 @@ void Expression::swapOperands(int i, int j) {
}
bool Expression::hasAncestor(const Expression * e) const {
assert(m_parent != this);
if (m_parent == e) {
return true;
}