mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
fix typo
This commit is contained in:
parent
30ed602009
commit
5a8e1cc988
1 changed files with 1 additions and 2 deletions
|
|
@ -128,8 +128,7 @@ void write_mcpl_source_bank(mcpl_outfile_t file_id,
|
|||
// loop over the other nodes and receive data - then write those.
|
||||
for (int i = 0; i < mpi::n_procs; ++i) {
|
||||
// number of particles for node node i
|
||||
size_t count[] {
|
||||
static_cast<size_t>((*bank_index)[i + 1] - (*bank_index)[i])};
|
||||
size_t count[] {static_cast<size_t>(bank_index[i + 1] - bank_index[i])};
|
||||
|
||||
#ifdef OPENMC_MPI
|
||||
if (i > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue