Update input2.c

This commit is contained in:
Lew Rossman
2019-04-05 16:28:55 -04:00
parent edcd4b69c7
commit b2a8b55bc6

View File

@@ -564,6 +564,7 @@ int addcurve(Network *network, char *id)
// Initialize the curve
curve = &network->Curve[network->Ncurves];
strncpy(curve->ID, id, MAXID);
curve->Type = GENERIC_CURVE;
curve->Comment = NULL;
curve->Capacity = 0;
curve->Npts = 0;