Commit 81d0fb19 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Use already taken variable.

* This prevents a useless load from memory.
parent 837d7b9b
......@@ -468,7 +468,7 @@ copy_component_dt(size_t num_component_dt,
if (orig_dt != MPI_DATATYPE_NULL)
xt_mpi_call(MPI_Type_dup(orig_dt, component_dt_copy + i), comm);
else
component_dt_copy[i] = MPI_DATATYPE_NULL;
component_dt_copy[i] = orig_dt;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment