Skip to content

Commit 7adc224

Browse files
committed
support WATER HRU Type
1 parent e65cce4 commit 7adc224

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ParsePropertyFile.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,9 +463,10 @@ bool ParseClassPropertiesFile(CModel *&pModel,
463463
bool is_special=((!string(s[0]).compare("LAKE")) ||
464464
(!string(s[0]).compare("GLACIER")) ||
465465
(!string(s[0]).compare("PAVEMENT")) ||
466+
(!string(s[0]).compare("WATER")) ||
466467
(!string(s[0]).compare("ROCK")));
467468
ExitGracefullyIf((nhoriz==0) && (!is_special),
468-
"ParseClassPropertiesFile: only special soil profiles (LAKE,GLACIER,PAVEMENT, or ROCK) can have zero horizons",BAD_DATA);
469+
"ParseClassPropertiesFile: only special soil profiles (LAKE,WATER,GLACIER,PAVEMENT, or ROCK) can have zero horizons",BAD_DATA);
469470

470471
for (int m=0;m<nhoriz;m++)
471472
{

0 commit comments

Comments
 (0)