From a611832184472cc4c38a9945186d836d2bb53f0f Mon Sep 17 00:00:00 2001 From: Michael Tryby Date: Mon, 19 Nov 2018 16:51:39 -0500 Subject: [PATCH] Fixing build error --- src/qualroute.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/qualroute.c b/src/qualroute.c index e408628..6806b80 100644 --- a/src/qualroute.c +++ b/src/qualroute.c @@ -5,9 +5,10 @@ QUALROUTE.C -- water quality routing module for the EPANET program ********************************************************************* */ - +#include #include #include + #include "mempool.h" #include "types.h" @@ -288,7 +289,7 @@ double noflowqual(EN_Project *pr, int n) k = qual->Ilist[i]; dir = qual->FlowDir[k]; - // Node n is link's downstream node - add quality + // Node n is link's downstream node - add quality // of link's first segment to average if (net->Link[k].N2 == n && dir >= 0) inflow = TRUE; else if (net->Link[k].N1 == n && dir < 0) inflow = TRUE; @@ -299,7 +300,7 @@ double noflowqual(EN_Project *pr, int n) kount++; } - // Node n is link's upstream node - add quality + // Node n is link's upstream node - add quality // of link's last segment to average else if (inflow == FALSE && qual->LastSeg[k] != NULL) {