mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-25 16:50:50 +01:00
[shared] StorageExpressionModelStore: fix memoization invalidation
Stored models need to be invalidate every time the storage changes
This commit is contained in:
@@ -28,7 +28,7 @@ Ion::Storage::Record::ErrorStatus StorageCartesianFunctionStore::addEmptyModel()
|
||||
return error;
|
||||
}
|
||||
|
||||
void StorageCartesianFunctionStore::privateSetMemoizedModelAtIndex(int cacheIndex, Ion::Storage::Record record) const {
|
||||
void StorageCartesianFunctionStore::setMemoizedModelAtIndex(int cacheIndex, Ion::Storage::Record record) const {
|
||||
assert(cacheIndex >= 0 && cacheIndex < k_maxNumberOfMemoizedModels);
|
||||
m_functions[cacheIndex] = StorageCartesianFunction(record);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user