Inconsistent code in Laws_sn.cc
In the comments, Laws_sn.cc: L68-L71, the options 1, 0, and -1 are given:
-
- 1 ==> Resistance Approach, see Laws_sn.c
-
- 0 ==> Relative Humidity Approach, see Snowpack.cc
-
- -1 ==> none, assume saturation pressure and no extra resistance
In L73, the variable is defined as bool: const bool SnLaws::soil_evaporation = true;
Whereas in L900 the variable is compared against 1: (SnLaws::soil_evaporation == 1)