Commit 5b1c1e2d authored by Reza  ANSARI's avatar Reza ANSARI
Browse files

Correction bug ds le decodage de l'option -norm , Reza 15/07/2018

parent 4a0fbe47
......@@ -319,7 +319,7 @@ int P4AnaParams::DecodeArgs(int narg, const char* arg[])
}
else if (fbo=="-norm") {
if (narg<2) { cout << "P4AnaParams::DecodeArgs missing/bad argument, -h for help " << endl; return -1; }
normalisation_.resize((size_t)P4AVisiNumEncoder::getTotalNbVisibilities());
normalisation_.resize((size_t)P4AVisiNumEncoder::getTotalNbFeeds());
for(size_t jj=0; jj<normalisation_.size(); jj++) normalisation_[jj]=1.;
string sn=arg[2]; vector<string> vs;
SplitStringToVString(sn,vs,',');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment