From b2a8b55bc64e0c6fc8ea6508efba19e0a118fe5a Mon Sep 17 00:00:00 2001 From: Lew Rossman Date: Fri, 5 Apr 2019 16:28:55 -0400 Subject: [PATCH] Update input2.c --- src/input2.c | 1 + 1 file changed, 1 insertion(+) 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;