From 60a822e5e0a16accf7777ecd320934f2b096d347 Mon Sep 17 00:00:00 2001
From: Stefan Wunsch <stefan.wunsch@student.kit.edu>
Date: Sat, 3 Dec 2016 10:58:33 +0100
Subject: [PATCH] Fix print output of DNN CPU impl

---
 tmva/tmva/src/MethodDNN.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tmva/tmva/src/MethodDNN.cxx b/tmva/tmva/src/MethodDNN.cxx
index 3b451df5937..3351604a209 100644
--- a/tmva/tmva/src/MethodDNN.cxx
+++ b/tmva/tmva/src/MethodDNN.cxx
@@ -541,7 +541,7 @@ void TMVA::MethodDNN::Train()
        ExitFromTraining();
        return;
    } else if (fArchitectureString == "OpenCL") {
-      Log() << kFATAL << "OpenCL backend not yes supported." << Endl;
+      Log() << kFATAL << "OpenCL backend not yet supported." << Endl;
       return;
    } else if (fArchitectureString == "CPU") {
       TrainCpu();
@@ -993,7 +993,7 @@ void TMVA::MethodDNN::TrainCpu()
       std::chrono::time_point<std::chrono::system_clock> start, end;
       start = std::chrono::system_clock::now();
 
-      if (fInteractive) {
+      if (!fInteractive) {
          Log() << std::setw(10) << "Epoch" << " | "
                << std::setw(12) << "Train Err."
                << std::setw(12) << "Test  Err."
-- 
GitLab