From 26d3466fec346de53d9a231e04367ac130846f5e Mon Sep 17 00:00:00 2001 From: M4x1m3 Date: Fri, 3 Jan 2020 20:39:30 +0100 Subject: [PATCH] [poincare] Fixed #122 --- poincare/src/trigonometry_cheat_table.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poincare/src/trigonometry_cheat_table.cpp b/poincare/src/trigonometry_cheat_table.cpp index 9eae9bc33..eac4f3a4b 100644 --- a/poincare/src/trigonometry_cheat_table.cpp +++ b/poincare/src/trigonometry_cheat_table.cpp @@ -82,7 +82,7 @@ Expression TrigonometryCheatTable::simplify(const Expression e, ExpressionNode:: * For instance, when simplfy a Cosine, we always compute the value for an angle * in the top right trigonometric quadrant. */ const TrigonometryCheatTable * TrigonometryCheatTable::Table() { - const Row sTableRows[] = { + static Row sTableRows[] = { Row(Row::Pair("-90", -90.0f), Row::Pair("π*(-2)^(-1)", -1.5707963267948966f), Row::Pair("-100", -100.0f),