| Summary: | typo in G4BinaryCascade::CorrectShortlivedPrimaryForFermi if ( std::abs(PDGcode > 1000) && PDGcode != 2112 && PDGcode != 2212 ) | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | a.ramazani |
| Component: | processes/hadronic/models/binary_cascade | Assignee: | Gunter.Folger |
| Status: | RESOLVED FIXED | ||
| Severity: | major | ||
| Priority: | P5 | ||
| Version: | 9.6 | ||
| Hardware: | All | ||
| OS: | All | ||
Thanks for this fix, I have modified the source code. Gunter |
typo in G4double G4BinaryCascade::CorrectShortlivedPrimaryForFermi( G4KineticTrack* primary,G4KineticTrackVector target_collection) abs(PDGcode )> 1000 : Error: if ( std::abs(PDGcode > 1000) && PDGcode != 2112 && PDGcode != 2212 ) Correct: if ( std::abs(PDGcode )> 1000 && PDGcode != 2112 && PDGcode != 2212 )