From 2b30d90555298b268f047f792f04c55498c16ac1 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Fri, 3 Jul 2020 18:19:26 -0700 Subject: [PATCH] DelayNormal.cc condition --- graph/DelayNormal1.cc | 6 +++--- graph/DelayNormal2.cc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/graph/DelayNormal1.cc b/graph/DelayNormal1.cc index 1042bbdb..344a3c1f 100644 --- a/graph/DelayNormal1.cc +++ b/graph/DelayNormal1.cc @@ -14,9 +14,6 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -// SSTA compilation. -#if (SSTA == 1) - #include "Delay.hh" #include // sqrt @@ -30,6 +27,9 @@ // temporary hack #include "Sta.hh" +// SSTA compilation. +#if (SSTA == 1) + namespace sta { inline float diff --git a/graph/DelayNormal2.cc b/graph/DelayNormal2.cc index 9ab1432a..8b6f02ba 100644 --- a/graph/DelayNormal2.cc +++ b/graph/DelayNormal2.cc @@ -14,9 +14,6 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -// SSTA compilation. -#if (SSTA == 2) - #include "Delay.hh" #include // sqrt @@ -28,6 +25,9 @@ #include "Units.hh" #include "StaState.hh" +// SSTA compilation. +#if (SSTA == 2) + namespace sta { inline float