diff --git a/apps/graph/graph/calculation_graph_controller.cpp b/apps/graph/graph/calculation_graph_controller.cpp index 0f745fe7f..1171157df 100644 --- a/apps/graph/graph/calculation_graph_controller.cpp +++ b/apps/graph/graph/calculation_graph_controller.cpp @@ -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;