| Summary: | please check this. | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Hans-Peter.Wellisch |
| Component: | processes/hadronic/models | Assignee: | Hans-Peter.Wellisch |
| Status: | CLOSED WORKSFORME | ||
| Severity: | trivial | ||
| Priority: | P5 | ||
| Version: | 4.0 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Hans-Peter.Wellisch
2002-06-07 10:51:25 CEST
Hi Fan, can you please have a look? Many greetings, Hans-Peter. no response from Fan, yet, and no way to enter his E-mail address into the error reporting system.... Hi Hans-Peter,
I have done some tests and it seems the "-" are indeed needed there, remove
them the code will not work!
I think the statement
while (!found && -DecaySchemeFile.getline(inputChars, 80).eof() != EOF)
is equivalent to
while (!found && !DecaySchemeFile.getline(inputChars, 80).eof() )
Thus this is not a bug, but obviously the second statement is a much better
code. I will make the changes for funture releases.
Regards.
Fan
thank you for checking. Many greetings, Hans-Peter. this is correct as is... |