From 7f2d434614252bf8f46ba46a7dcc0267ec7c5f46 Mon Sep 17 00:00:00 2001 From: Andrew Zhen Ning Yong Date: Thu, 24 Jan 2019 13:29:03 +0000 Subject: [PATCH] Minor i/O typo corrected. --- physics/pert-eff-mass.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/physics/pert-eff-mass.cpp b/physics/pert-eff-mass.cpp index 426a093..b0c9014 100644 --- a/physics/pert-eff-mass.cpp +++ b/physics/pert-eff-mass.cpp @@ -32,7 +32,7 @@ int main(int argc, char *argv[]) parsed = opt.parse(argc, argv); if (!parsed or (opt.getArgs().size() < 2) or opt.gotOption("help")) { - cerr << "usage: " << argv[0] << " < QED correlator file> < QCD correlator file 2>" << endl; + cerr << "usage: " << argv[0] << " < QED correlator file> < QCD correlator file>" << endl; cerr << endl << "Possible options:" << endl << opt << endl; return EXIT_FAILURE; @@ -96,8 +96,7 @@ int main(int argc, char *argv[]) { tm = nt-1; } - - effmass[s](t) = ( 1./sqrt( (( c0[s](tp) + c0[s](tm) )/(2*c0[s](t)))*(( c0[s](tp) + c0[s](tm) )/(2*c0[s](t))) - 1 ) )*( (dc[s](tp) + dc[s](tm) )/(2*c0[s](t)) - ( dc[s](t)/c0[s](t) )*( ( c0[s](tp) + c0[s](tm) )/(2*c0[s](t)) ) ); + effmass[s](t) = ( 1./sqrt( ( ( c0[s](tp) + c0[s](tm) )/(2*c0[s](t) ) )*(( c0[s](tp) + c0[s](tm) )/(2*c0[s](t))) - 1 ) )*( (dc[s](tp) + dc[s](tm) )/(2*c0[s](t)) - ( dc[s](t)/c0[s](t) )*( ( c0[s](tp) + c0[s](tm) )/(2*c0[s](t)) ) ); } } // plots ///////////////////////////////////////////////////////////////////