Update epanet.c
This commit is contained in:
@@ -2628,8 +2628,8 @@ int DLLEXPORT EN_settankdata(EN_Project p, int index, double elev,
|
|||||||
Network *net = &p->network;
|
Network *net = &p->network;
|
||||||
|
|
||||||
int i, j, n, curveIndex = 0;
|
int i, j, n, curveIndex = 0;
|
||||||
double area, elevation = elev / Ucf[ELEV];
|
|
||||||
double *Ucf = p->Ucf;
|
double *Ucf = p->Ucf;
|
||||||
|
double area, elevation = elev / Ucf[ELEV];
|
||||||
Stank *Tank = net->Tank;
|
Stank *Tank = net->Tank;
|
||||||
Scurve *curve;
|
Scurve *curve;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user