diff --git a/apps/graph/values/interval_parameter_selector_controller.cpp b/apps/graph/values/interval_parameter_selector_controller.cpp index a43828a2f..53e0d9283 100644 --- a/apps/graph/values/interval_parameter_selector_controller.cpp +++ b/apps/graph/values/interval_parameter_selector_controller.cpp @@ -56,7 +56,7 @@ void IntervalParameterSelectorController::willDisplayCellForIndex(HighlightCell } Shared::CartesianFunction::PlotType IntervalParameterSelectorController::plotTypeAtRow(int j) const { - assert(0 <= j && j < numberOfRows()); + assert(0 <= j && j < const_cast(this)->numberOfRows()); return static_cast(j); }