Formatting: added missing space.

This commit is contained in:
Markus Blatt 2020-08-07 09:38:10 +02:00
parent 8d3eac81a5
commit 5743a979e3

View File

@ -121,7 +121,7 @@ namespace bda
int *rowsPerColorPrefix = new int[numColors + 1];
rowsPerColorPrefix[0] = 0;
for (int i = 0; i < numColors; ++i) {
rowsPerColorPrefix[i+1] =rowsPerColorPrefix[i] + rowsPerColor[i];
rowsPerColorPrefix[i+1] = rowsPerColorPrefix[i] + rowsPerColor[i];
}
queue->enqueueWriteBuffer(s.rowsPerColor, CL_TRUE, 0, (numColors + 1) * sizeof(int), rowsPerColorPrefix);
delete[] rowsPerColorPrefix;