Skip to content

Commit cdb610c

Browse files
committed
DPL: fix reversed index when filling DataProcessingStates
1 parent 4d0047c commit cdb610c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/Core/src/DataRelayer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ void DataRelayer::sendContextState()
10551055
char* buffer = relayerSlotState + written;
10561056
for (size_t ci = 0; ci < mTimesliceIndex.size(); ++ci) {
10571057
for (size_t si = 0; si < mDistinctRoutesIndex.size(); ++si) {
1058-
int index = si * mTimesliceIndex.size() + ci;
1058+
int index = ci * mDistinctRoutesIndex.size() + si;
10591059
int value = static_cast<int>(mCachedStateMetrics[index]);
10601060
buffer[si] = value + '0';
10611061
// Anything which is done is actually already empty,

0 commit comments

Comments
 (0)