From c95799f0c2eeaae76d31d99c4c8546eff0fc8a9c Mon Sep 17 00:00:00 2001 From: Maksaska <70368398+Maksaska@users.noreply.github.com> Date: Thu, 9 Jun 2022 00:03:48 +0300 Subject: [PATCH] Output *.dat file destination fixed --- general.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/general.cpp b/general.cpp index cfa96f3..c8c9ed6 100644 --- a/general.cpp +++ b/general.cpp @@ -8,7 +8,7 @@ using namespace std; double E0(6.5), R(1), L(10), W_min(1.08), W_max(2.0), Q2_min(0.05), Q2_max(5.0); int h(0), N(1000000); double seed_(0); bool channel(true), method(false), histogram(false), rad_corr(false); -string path = "MCEGENpiN_radcorr.dat"; +string path = "./MCEGENpiN_radcorr.dat"; string source = "pi0p.csv"; string source_interp = "pi0p_int.csv"; vector> data, data_interp; @@ -203,7 +203,7 @@ void input_check(int argc, char* argv[]) }; }; - path = data_path + "/" + path; + //path = data_path + "/" + path; cout << " ------------------------------------------------------------------- " << endl; cout << "| Monte Carlo event generator for exclusive pion electroproduction | \n| with radiative corrections \"MCEGENpiN_radcorr V8a\" | \n| |\n| Authors: Davydov M. - MSU, Physics dep. |\n| Isupov E. - MSU, SINP |\n| |\n| https://github.com/Maksaska/MCEGENpiN_radcorr |\n ------------------------------------------------------------------- " << endl;