A big that exists only in 2.00.12 is fixed. It is at function ENgetnodevalue for EN_SOURCEQUAL. A break statement rather than return should correspond to case.
git-svn-id: https://epanet.svn.sourceforge.net/svnroot/epanet/BASE/trunk@112 c320cabd-cc23-0410-96d8-e60fbf53ed7f
This commit is contained in:
@@ -1381,7 +1381,7 @@ int DLLEXPORT ENgetnodevalue(int index, int code, float *value)
|
||||
else if (code == EN_SOURCEMASS) v = source->Smass*60.0;
|
||||
else if (code == EN_SOURCEPAT) v = source->Pat;
|
||||
else v = source->Type;
|
||||
return(0);
|
||||
break;
|
||||
|
||||
case EN_TANKLEVEL:
|
||||
if (index <= Njuncs) return(251);
|
||||
|
||||
Reference in New Issue
Block a user