mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[poincare/zoom] Return value for boring curve
Change-Id: Iad983da0aa3066f5be0c75c5b8e38e62a907d5a1
This commit is contained in:
committed by
Émilie Feral
parent
c647bfe566
commit
9c320185dd
@@ -146,8 +146,10 @@ bool Zoom::InterestingRangesForDisplay(ValueAtAbscissa evaluation, float * xMin,
|
||||
resultX[1] = std::max(resultX[1], asymptote[1]);
|
||||
if (resultX[0] >= resultX[1]) {
|
||||
/* Fallback to default range. */
|
||||
resultX[0] = NAN;
|
||||
resultX[1] = NAN;
|
||||
*xMin = NAN;
|
||||
*xMax = NAN;
|
||||
*yMin = NAN;
|
||||
*yMax = NAN;
|
||||
return false;
|
||||
} else {
|
||||
resultX[0] = std::min(resultX[0], explosion[0]);
|
||||
|
||||
Reference in New Issue
Block a user