mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Fixed bug which caused runtime error with Intel compiler and DEBUG turned on.
This commit is contained in:
parent
84ca556661
commit
a27f8f216e
1 changed files with 3 additions and 0 deletions
|
|
@ -286,6 +286,9 @@ contains
|
|||
ym1 = m % upper_right(2)
|
||||
zm1 = m % upper_right(3)
|
||||
|
||||
! Set default value for intersects
|
||||
intersects = .false.
|
||||
|
||||
! Check if line intersects bottom surface -- calculate the intersection
|
||||
! point (y,z)
|
||||
yi = y0 + (xm0 - x0) * (y1 - y0) / (x1 - x0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue