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:
Feng Shang
2008-05-07 20:04:14 +00:00
parent c38b8d0ac8
commit 5abc3875fa

View File

@@ -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);