| Summary: | Typo in G4hLowEnergyIonisation.cc | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | hans-herbert.fischer |
| Component: | processes/electromagnetic/lowenergy | Assignee: | Vladimir.Ivantchenko |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | hans-herbert.fischer |
| Priority: | P2 | ||
| Version: | 7.0 | ||
| Hardware: | PC | ||
| OS: | Windows | ||
Thanks! It is a typo. Fixed. *** Bug 819 has been marked as a duplicate of this bug. *** *** 'Vladimir.Ivantchenko@cern.ch' will be responsible for bug 819. *** |
Compiler MSVC++.NET emits warning: src\G4hLowEnergyIonisation.cc(836) : warning C4552: '+' : operator has no effect; expected operator with side-effect if(theBarkas && tscaled > highEnergy) { fBarkas = -BarkasTerm(material,tscaled)*std::sqrt(chargeSquare)*chargeSquare; + BlochTerm(material,tscaled,chargeSquare); } Indeed lines 835/836 are suspicious and the ";" in line 835 is probably bad. Cheers Hans-Herbert