mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/calculationStore] Remove falty assertion
This commit is contained in:
@@ -133,7 +133,9 @@ void CalculationStore::deleteCalculationAtIndex(int i) {
|
||||
}
|
||||
|
||||
void CalculationStore::deleteAll() {
|
||||
assert(!m_slidedBuffer);
|
||||
/* We might call deleteAll because the app closed due to a pool allocation
|
||||
* failure, so we cannot assert that m_slidedBuffer is false. */
|
||||
m_slidedBuffer = false;
|
||||
m_bufferEnd = m_buffer;
|
||||
m_numberOfCalculations = 0;
|
||||
resetMemoizedModelsAfterCalculationIndex(-1);
|
||||
|
||||
Reference in New Issue
Block a user