From bb3a1a4ff1bcda5bc9dd7cc44574309f2c4b609b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Tue, 12 Jun 2018 15:05:30 +0200 Subject: [PATCH] [poincare] Expression: fix comment --- poincare/include/poincare/expression.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/poincare/include/poincare/expression.h b/poincare/include/poincare/expression.h index a8ffaaff5..90cc058fa 100644 --- a/poincare/include/poincare/expression.h +++ b/poincare/include/poincare/expression.h @@ -230,8 +230,8 @@ public: * order) and 'constant' with the constant of the expression. */ bool getLinearCoefficients(char * variables, Expression * coefficients[], Expression * constant[], Context & context) const; /* getPolynomialCoefficients fills the table coefficients with the expressions - * of the first 5 polynomial coefficients and return polynomialDegree. - * coefficients has up to 5 entries. It supposed to be called on Reduced + * of the first 3 polynomial coefficients and return polynomialDegree. + * coefficients has up to 3 entries. It supposed to be called on Reduced * expression. */ static constexpr int k_maxPolynomialDegree = 2; static constexpr int k_maxNumberOfPolynomialCoefficients = k_maxPolynomialDegree+1;