Commit f61940c7 authored by Lynn Garren's avatar Lynn Garren
Browse files

check for valid line was too stringent

parent cedbebe4
2005-11-04 Lynn Garren <garren@fnal.gov>
* addEvtGenParticles.cc: Bug fix
2005-10-20 Lynn Garren <garren@fnal.gov>
* CommonParticleData.icc: Bug fix - low and high cutoffs for the width
......
......@@ -42,7 +42,7 @@ bool getEvtGenLineType( std::string & ltype, int & id, std::string & name, const
if( firstc == "*" || firstc == "#" ) { return false; }
// a # may be anywhere on the line
// check for empty lines
if( sl > 10 ){
if( sl > 5 ){
std::istringstream thisline( pdline.substr(0,sl).c_str() );
thisline >> ltype;
if( ltype == "add" ) {
......
Supports Markdown
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