Commit 766a3368 authored by Zhang Xin's avatar Zhang Xin
Browse files

null bug

parent 83945b31
......@@ -679,6 +679,9 @@ void EarthShine(double ju, double sat[3], double ob[3], double py[3], double E[7
for (int i = 0; i < 7; i++)
{
E[i] = Ealbedo*SunRatio[i];
if (isfinite(E[i]) == false){
E[i] = 0.0;
}
// cout << E[i] << " ";
}
// cout << endl;
......
No preview for this file type
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment