[apps/graph][apps/sequence] ValuesController memoization buffer does not

require the same size for Sequence and Graph
This commit is contained in:
Émilie Feral
2019-10-03 15:25:22 +02:00
committed by LeaNumworks
parent dc3c67a2d2
commit 60ad096956
4 changed files with 6 additions and 2 deletions

View File

@@ -263,7 +263,7 @@ void ValuesController::resetMemoization() {
}
void ValuesController::moveMemoizedBuffer(int destinationI, int destinationJ, int sourceI, int sourceJ) {
strlcpy(memoizedBufferAtIndex(destinationJ*numberOfMemoizedColumn() + destinationI), memoizedBufferAtIndex(sourceJ*numberOfMemoizedColumn() + sourceI), k_valuesCellBufferSize);
strlcpy(memoizedBufferAtIndex(destinationJ*numberOfMemoizedColumn() + destinationI), memoizedBufferAtIndex(sourceJ*numberOfMemoizedColumn() + sourceI), valuesCellBufferSize());
}
char * ValuesController::memoizedBufferForCell(int i, int j) {