mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
fix fix fix to the k increment.
This commit is contained in:
parent
b8d5cfcefb
commit
c69d53ee86
1 changed files with 1 additions and 1 deletions
|
|
@ -765,7 +765,7 @@ HexLattice::get_indices(Position r, Direction u) const
|
|||
if (d < d_min || coincident) {
|
||||
r_t /= std::sqrt(d);
|
||||
double dp = u.x * r_t.x + u.y * r_t.y;
|
||||
if (coincident && dp > dp_min) { continue; }
|
||||
if (coincident && dp > dp_min) { k++; continue; }
|
||||
// update values
|
||||
d_min = d;
|
||||
k_min = k;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue