Update input2.c
This commit is contained in:
@@ -564,6 +564,7 @@ int addcurve(Network *network, char *id)
|
|||||||
// Initialize the curve
|
// Initialize the curve
|
||||||
curve = &network->Curve[network->Ncurves];
|
curve = &network->Curve[network->Ncurves];
|
||||||
strncpy(curve->ID, id, MAXID);
|
strncpy(curve->ID, id, MAXID);
|
||||||
|
curve->Type = GENERIC_CURVE;
|
||||||
curve->Comment = NULL;
|
curve->Comment = NULL;
|
||||||
curve->Capacity = 0;
|
curve->Capacity = 0;
|
||||||
curve->Npts = 0;
|
curve->Npts = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user