Skip to content

Commit

Permalink
Update sn3d.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Oct 28, 2024
1 parent 6751b6f commit 6d1b6b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sn3d.cc
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,7 @@ auto main(int argc, char *argv[]) -> int {
}

auto *const packets = static_cast<Packet *>(malloc(MPKTS * sizeof(Packet)));
std::fill_n(packets, MPKTS, Packet{});

assert_always(packets != nullptr);

Expand Down

0 comments on commit 6d1b6b0

Please sign in to comment.