We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a63574 commit 3244bd8Copy full SHA for 3244bd8
src/solve_snow.c
@@ -215,7 +215,7 @@ double solve_snow(char overstory,
215
(*ShortUnderIn) = shortwave;
216
(*LongUnderIn) = longwave;
217
218
- if ( snow->swq > 0 || *snowfall > 0.
+ if ( snow->swq > 0. || snow->iwq > 0. || *snowfall > 0.
219
|| (snow->snow_canopy > 0. && overstory) ) {
220
221
/*****************************
@@ -307,7 +307,7 @@ double solve_snow(char overstory,
307
energy->LongOverIn = 0;
308
}
309
310
- if ( snow->swq > 0.0 || *snowfall > 0 ) {
+ if ( snow->swq > 0.0 || *snowfall > 0 || snow->iwq > 0.0) {
311
312
/******************************
313
Snow Pack Present on Ground
0 commit comments