diff --git a/dftcalc/dftcalc.cpp b/dftcalc/dftcalc.cpp index 540cec2..379950a 100644 --- a/dftcalc/dftcalc.cpp +++ b/dftcalc/dftcalc.cpp @@ -266,6 +266,7 @@ std::string DFT::DFTCalc::getRoot() { #endif if(messageFormatter) messageFormatter->reportAction("DFT2LNTROOT is: " + dft2lntRoot,VERBOSITY_DATA); +end: return dft2lntRoot; } diff --git a/dfttest/dfttest.cpp b/dfttest/dfttest.cpp index 6a418f1..468ab15 100644 --- a/dfttest/dfttest.cpp +++ b/dfttest/dfttest.cpp @@ -248,6 +248,7 @@ std::string getRoot(MessageFormatter* messageFormatter) { #endif if(messageFormatter) messageFormatter->reportAction("DFT2LNTROOT is: " + dft2lntRoot,VERBOSITY_DATA); +end: return dft2lntRoot; }