mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Avoid implicit construction of TallyDerivative
This commit is contained in:
parent
8b61bc1a77
commit
2bc8b9a5ff
2 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ struct TallyDerivative {
|
|||
double flux_deriv; //!< Derivative of the current particle's weight
|
||||
|
||||
TallyDerivative() {}
|
||||
TallyDerivative(pugi::xml_node node);
|
||||
explicit TallyDerivative(pugi::xml_node node);
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ read_tally_derivatives(pugi::xml_node* node)
|
|||
#pragma omp parallel
|
||||
{
|
||||
for (auto deriv_node : node->children("derivative"))
|
||||
model::tally_derivs.push_back(deriv_node);
|
||||
model::tally_derivs.emplace_back(deriv_node);
|
||||
}
|
||||
|
||||
// Fill the derivative map.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue