diff --git a/src/input2.c b/src/input2.c index 482103e..5adb3e4 100644 --- a/src/input2.c +++ b/src/input2.c @@ -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;