mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/sequence][apps/graph] fix behaviour when deleting functions
Change-Id: Ieccc85887fa0077446aaf57fee105b7fd2f3bff9
This commit is contained in:
@@ -83,6 +83,10 @@ void Function::setActive(bool active) {
|
||||
m_active = active;
|
||||
}
|
||||
|
||||
bool Function::isEmpty() {
|
||||
return strlen(m_text) == 0;
|
||||
}
|
||||
|
||||
float Function::evaluateAtAbscissa(float x, Poincare::Context * context) const {
|
||||
Poincare::VariableContext variableContext = Poincare::VariableContext(symbol(), context);
|
||||
Poincare::Symbol xSymbol = Poincare::Symbol(symbol());
|
||||
|
||||
Reference in New Issue
Block a user