Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas Jahns
yaxt
Commits
81d0fb19
Commit
81d0fb19
authored
Mar 11, 2020
by
Thomas Jahns
🤸
Browse files
Use already taken variable.
* This prevents a useless load from memory.
parent
837d7b9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/xt_redist_collection.c
View file @
81d0fb19
...
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment