mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 01:00:50 +01:00
[apps] Clearer TODO comment
This commit is contained in:
@@ -66,7 +66,9 @@ bool SumGraphController::moveCursorHorizontallyToPosition(double x) {
|
||||
assert(!m_record.isNull());
|
||||
ExpiringPointer<Function> function = myApp->functionStore()->modelForRecord(m_record);
|
||||
|
||||
double y = function->evaluateXYAtParameter(x, myApp->localContext()).x2(); //TODO LEA assertion that x = t?
|
||||
/* TODO We would like to assert that the function is not a parametered
|
||||
* function, so we can indeed evaluate the function for parameter x. */
|
||||
double y = function->evaluateXYAtParameter(x, myApp->localContext()).x2();
|
||||
m_cursor->moveTo(x, x, y);
|
||||
if (m_step == Step::SecondParameter) {
|
||||
m_graphView->setAreaHighlight(m_startSum, m_cursor->x());
|
||||
|
||||
Reference in New Issue
Block a user