From 7e2482aad1c6b3c7f36bafa2e0754d7599b3e142 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Wed, 14 Dec 2016 18:04:21 +0000 Subject: [PATCH] Hadrons: cpde cleaning --- tests/hadrons/Test_hadrons_meson_3pt.cc | 9 ++++----- tests/hadrons/Test_hadrons_spectrum.cc | 3 +-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/tests/hadrons/Test_hadrons_meson_3pt.cc b/tests/hadrons/Test_hadrons_meson_3pt.cc index b3156918..2645bfbe 100644 --- a/tests/hadrons/Test_hadrons_meson_3pt.cc +++ b/tests/hadrons/Test_hadrons_meson_3pt.cc @@ -42,11 +42,10 @@ int main(int argc, char *argv[]) LOG(Message) << "Grid initialized" << std::endl; // run setup /////////////////////////////////////////////////////////////// - Application application; - - std::vector flavour = {"l", "s", "c1", "c2", "c3"}; - std::vector mass = {.01, .04, .2 , .25 , .3 }; - unsigned int nt = GridDefaultLatt()[Tp]; + Application application; + std::vector flavour = {"l", "s", "c1", "c2", "c3"}; + std::vector mass = {.01, .04, .2 , .25 , .3 }; + unsigned int nt = GridDefaultLatt()[Tp]; // global parameters Application::GlobalPar globalPar; diff --git a/tests/hadrons/Test_hadrons_spectrum.cc b/tests/hadrons/Test_hadrons_spectrum.cc index 93d31fed..7e66ea9b 100644 --- a/tests/hadrons/Test_hadrons_spectrum.cc +++ b/tests/hadrons/Test_hadrons_spectrum.cc @@ -42,8 +42,7 @@ int main(int argc, char *argv[]) LOG(Message) << "Grid initialized" << std::endl; // run setup /////////////////////////////////////////////////////////////// - Application application; - + Application application; std::vector flavour = {"l", "s", "c1", "c2", "c3"}; std::vector mass = {.01, .04, .2 , .25 , .3 };