Skip to content

Commit f456850

Browse files
committed
Fix export sizes
1 parent a98b403 commit f456850

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ struct AgentID {
318318
Action inverseActions[consts::kTrajectoryLength];
319319
};
320320

321-
const size_t TrajectoryExportSize = 3 * 2 * consts::kTrajectoryLength + 2 * consts::kTrajectoryLength + ActionExportSize * consts::kTrajectoryLength;
321+
const size_t TrajectoryExportSize = 3 * consts::kTrajectoryLength + 2 * 2 * consts::kTrajectoryLength + ActionExportSize * consts::kTrajectoryLength;
322322

323323
static_assert(sizeof(Trajectory) == sizeof(float) * TrajectoryExportSize);
324324

@@ -353,7 +353,7 @@ struct AgentID {
353353
float id;
354354
};
355355

356-
const size_t AbsoluteSelfObservationExportSize = 13; // 3 + 4 + 1 + 2 + 2
356+
const size_t AbsoluteSelfObservationExportSize = 14; // 3 + 5 + 3 + 2 + 1
357357

358358
static_assert(sizeof(AbsoluteSelfObservation) == sizeof(float) * AbsoluteSelfObservationExportSize);
359359

0 commit comments

Comments
 (0)