mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 01:08:15 +01:00
[apps/cartesian_function] Fix XYEvaluation for cartesian functions
This commit is contained in:
@@ -255,7 +255,7 @@ CartesianFunction::CartesianFunctionRecordDataBuffer * CartesianFunction::record
|
||||
template<typename T>
|
||||
Coordinate2D<T> CartesianFunction::templatedApproximateAtParameter(T t, Poincare::Context * context) const {
|
||||
if (isCircularlyDefined(context) || t < tMin() || t > tMax()) {
|
||||
return Coordinate2D<T>(NAN, NAN);
|
||||
return Coordinate2D<T>(plotType() == PlotType::Cartesian ? t : NAN, NAN);
|
||||
}
|
||||
constexpr int bufferSize = CodePoint::MaxCodePointCharLength + 1;
|
||||
char unknown[bufferSize];
|
||||
|
||||
Reference in New Issue
Block a user