mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-29 19:49:58 +02:00
[graph] Fix assert in CalculationGraphController
This commit is contained in:
@@ -23,7 +23,7 @@ View * CalculationGraphController::view() {
|
||||
}
|
||||
|
||||
void CalculationGraphController::viewWillAppear() {
|
||||
assert(m_record.isNull());
|
||||
assert(!m_record.isNull());
|
||||
Expression::Coordinate2D pointOfInterest = computeNewPointOfInteresetFromAbscissa(m_graphRange->xMin(), 1);
|
||||
if (std::isnan(pointOfInterest.abscissa)) {
|
||||
m_isActive = false;
|
||||
|
||||
Reference in New Issue
Block a user