From da97ffc7472f309f7c15a3abdfd5ac62198c2d07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Thu, 29 Aug 2019 15:55:03 +0200 Subject: [PATCH] [apps] Fix wrong method called --- apps/shared/cartesian_function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/shared/cartesian_function.cpp b/apps/shared/cartesian_function.cpp index 1e6245318..a16c95141 100644 --- a/apps/shared/cartesian_function.cpp +++ b/apps/shared/cartesian_function.cpp @@ -189,7 +189,7 @@ Coordinate2D CartesianFunction::templatedApproximateAtParameter(T t, Poincare } constexpr int bufferSize = CodePoint::MaxCodePointCharLength + 1; char unknown[bufferSize]; - Poincare::SerializationHelper::CodePoint(unknown, bufferSize, symbol()); + Poincare::SerializationHelper::CodePoint(unknown, bufferSize, UCodePointUnknownX); PlotType type = plotType(); if (type == PlotType::Cartesian || type == PlotType::Polar) { return Coordinate2D(t, PoincareHelpers::ApproximateWithValueForSymbol(expressionReduced(context), unknown, t, context));