Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CLHEP
CLHEP
Commits
f61940c7
Commit
f61940c7
authored
Nov 04, 2005
by
Lynn Garren
Browse files
check for valid line was too stringent
parent
cedbebe4
Changes
2
Hide whitespace changes
Inline
Side-by-side
HepPDT/ChangeLog
View file @
f61940c7
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
...
...
HepPDT/src/addEvtGenParticles.cc
View file @
f61940c7
...
...
@@ -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"
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment