From c3d945518cb66994b7b40847d98aefd0df5df04f Mon Sep 17 00:00:00 2001 From: moukaddam <mhd.moukaddam@gmail.com> Date: Mon, 2 Oct 2017 02:43:30 +0100 Subject: [PATCH] fix message typo --- NPLib/Physics/NPFunction.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NPLib/Physics/NPFunction.cxx b/NPLib/Physics/NPFunction.cxx index 817d30306..71602f164 100644 --- a/NPLib/Physics/NPFunction.cxx +++ b/NPLib/Physics/NPFunction.cxx @@ -37,7 +37,7 @@ TH1F* Read1DProfile(string filename,string HistName) // test whether file format is ASCII or ROOT bool type = OpenASCIIorROOTFile(filename, ASCII , ROOT); - + // ASCII File case if (type) { string LineBuffer; @@ -80,7 +80,7 @@ TH1F* Read1DProfile(string filename,string HistName) else{ h = (TH1F*) gDirectory->FindObjectAny(HistName.c_str()); if(!h){ - cout << "Error: Histogramm " << HistName << " not found in file " << filename << endl; + cout << "Error: Histogram " << HistName << " not found in file " << filename << endl; exit(1); } } -- GitLab