added check in ic_gb for the case Nx0t=Ny0t=0
This commit is contained in:
parent
9f445e5cd1
commit
a93b56495c
10
src/gray.f
10
src/gray.f
@ -3895,8 +3895,14 @@ c
|
|||||||
c
|
c
|
||||||
pppx=x0t*rcixx+y0t*rcixy
|
pppx=x0t*rcixx+y0t*rcixy
|
||||||
pppy=x0t*rcixy+y0t*rciyy
|
pppy=x0t*rcixy+y0t*rciyy
|
||||||
ppx=-pppx*gzt/(pppx*gxt+pppy*gyt)
|
denpp=pppx*gxt+pppy*gyt
|
||||||
ppy=-pppy*gzt/(pppx*gxt+pppy*gyt)
|
if (denpp.ne.0.0d0) then
|
||||||
|
ppx=-pppx*gzt/denpp
|
||||||
|
ppy=-pppy*gzt/denpp
|
||||||
|
else
|
||||||
|
ppx=0.0d0
|
||||||
|
ppy=0.0d0
|
||||||
|
end if
|
||||||
c
|
c
|
||||||
anzt=sqrt((1.0d0+gr2)/(1.0d0+ppx**2+ppy**2))
|
anzt=sqrt((1.0d0+gr2)/(1.0d0+ppx**2+ppy**2))
|
||||||
anxt=ppx*anzt
|
anxt=ppx*anzt
|
||||||
|
Loading…
Reference in New Issue
Block a user