Fixed bug which caused runtime error with Intel compiler and DEBUG turned on.

This commit is contained in:
Paul Romano 2012-05-03 10:40:01 -04:00
parent 84ca556661
commit a27f8f216e

View file

@ -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)