From 49e4abb9648de47be3d5abc83efadca39c701556 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Thu, 4 Jun 2020 11:58:20 +0200 Subject: [PATCH] [poincare/multiplication] Fix comment --- poincare/src/multiplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poincare/src/multiplication.cpp b/poincare/src/multiplication.cpp index 4f7c254e3..0f6e806d8 100644 --- a/poincare/src/multiplication.cpp +++ b/poincare/src/multiplication.cpp @@ -697,7 +697,7 @@ Expression Multiplication::privateShallowReduce(ExpressionNode::ReductionContext shouldExpand = false; } else if (c.type() != ExpressionNode::Type::Rational) { } else if (static_cast(c).isZero()) { - // Check that other children don't match inf or unit + // Check that other children don't match inf or matrix if (!recursivelyMatches([](const Expression e, Context * context) { return IsInfinity(e, context) || IsMatrix(e, context); }, context)) { replaceWithInPlace(c); return c;