mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 08:47:28 +01:00
[apps] Fix wrong method called
This commit is contained in:
@@ -189,7 +189,7 @@ Coordinate2D<T> 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>(t, PoincareHelpers::ApproximateWithValueForSymbol(expressionReduced(context), unknown, t, context));
|
||||
|
||||
Reference in New Issue
Block a user