Skip to content

Commit

Permalink
Merge pull request #213 from spasmann/dev
Browse files Browse the repository at this point in the history
Bug fix: particles sourced on cell boundaries
  • Loading branch information
jpmorgan98 authored Jul 22, 2024
2 parents 977580c + ec93ef9 commit 8b438a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcdc/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,7 @@ def region_check(P, region, trans, mcdc):
if positive_side:
if side > 0.0:
return True
elif side < 0.0:
elif side <= 0.0:
return True

return False
Expand Down

0 comments on commit 8b438a8

Please sign in to comment.