Skip to content

Commit

Permalink
Remove unnecessary pruning of LocalCoords
Browse files Browse the repository at this point in the history
  • Loading branch information
GiudGiud committed Jul 13, 2020
1 parent e645e3c commit ad852d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/CPUSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2590,7 +2590,7 @@ void CPUSolver::transferBoundaryFlux(Track* track,
/* For vacuum boundary conditions, losing the flux is enough */

/* Tally leakage if applicable */
if (_cmfd == NULL) {
if (!_keff_from_fission_rates) {
if (bc_out == VACUUM) {
long track_id = track->getUid();
FP_PRECISION weight = _quad->getWeightInline(azim_index, polar_index);
Expand Down
4 changes: 0 additions & 4 deletions src/LocalCoords.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -577,10 +577,6 @@ void LocalCoords::copyCoords(LocalCoords* coords) {
curr2 = curr2->getNextCreate(0, 0, 0);
}
}

/* Prune any remainder from the old coords linked list */
if (curr2 != NULL)
curr2->prune();
}


Expand Down

0 comments on commit ad852d5

Please sign in to comment.