UW-Hydro/VIC — pull request #148 by tbohn (2014-09-29 21:59:17+00:00)
Title: Fix for issues #138 and #145.

In runoff.c, added check to handle case when sum_liq = 0. Removed print of warning when evap_sum != 0 (this in itself is not an error) and added update of layer[lindex].evap to equal the sum of evap[lindex][frost_area] over all frost_areas after adjustment for avail_liq to ensure consistency.

This addresses issues #138 and #145.

Note: Small water balance errors were present in the test case for this fix, both before and after I made the fix. I did not have time to investigate these, but they probably warrant a new issue.