mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/shared] Remove redundant call to isCircularlyDefined
ExpressionModel::expressionReduced does already call isCircularlyDefined and returns undef if true. The isCircularlyDefined method is then made private.
This commit is contained in:
committed by
Léa Saviot
parent
9480bcacd5
commit
5750d00574
@@ -276,7 +276,7 @@ ContinuousFunction::RecordDataBuffer * ContinuousFunction::recordData() const {
|
||||
|
||||
template<typename T>
|
||||
Coordinate2D<T> ContinuousFunction::templatedApproximateAtParameter(T t, Poincare::Context * context) const {
|
||||
if (isCircularlyDefined(context) || t < tMin() || t > tMax()) {
|
||||
if (t < tMin() || t > tMax()) {
|
||||
return Coordinate2D<T>(plotType() == PlotType::Cartesian ? t : NAN, NAN);
|
||||
}
|
||||
constexpr int bufferSize = CodePoint::MaxCodePointCharLength + 1;
|
||||
|
||||
Reference in New Issue
Block a user