fix: reserve vs resize in Worker

This commit is contained in:
hans 2024-06-05 15:54:19 +02:00
parent 122aa963a4
commit d7832d8fa6

View File

@ -153,7 +153,7 @@ void poet::ChemistryModule::WorkerDoWork(MPI_Status &probe_status,
current_sim_time = mpi_buffer[count + 3];
// current work package start location in field
wp_start_index = mpi_buffer[count+4];
wp_start_index = mpi_buffer[count + 4];
for (std::size_t wp_i = 0; wp_i < s_curr_wp.size; wp_i++) {
s_curr_wp.input[wp_i] =