Problem 1535 - Incorrect unit is misinterpreted and accepted with wrong value
Summary: Incorrect unit is misinterpreted and accepted with wrong value
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: intercoms (show other problems)
Version: 9.3
Hardware: All All
: P5 critical
Assignee: Koichi Murakami
URL:
Depends on:
Blocks:
 
Reported: 2013-11-21 02:32 CET by asai
Modified: 2013-11-21 02:35 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description asai 2013-11-21 02:32:37 CET
G4UIcmdWith3VectorAndUnit and G4UIcmdWithADoubleAndUnit behave incorrectly when incorrect unit is specified. For example of a particle gun command
 /gun/energy 10 km
is accepted without any warning message and sets the energy to 10000 GeV.

The fix will be included in Geant4 version 10.0, and will potentially be back-ported.
Comment 1 asai 2013-11-21 02:35:09 CET
The fix will be included in Geant4 version 10.0, and will potentially be back-ported.