Import Geant4 4.1.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcmdWithADouble.cc,v 1.3 2001/07/11 10:01:16 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4UIcmdWithADouble.cc,v 1.4 2002/04/26 22:03:35 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -37,11 +37,10 @@ G4UIcmdWithADouble::G4UIcmdWithADouble
|
||||
SetParameter(dblParam);
|
||||
}
|
||||
|
||||
G4double G4UIcmdWithADouble::GetNewDoubleValue(G4String paramString)
|
||||
G4double G4UIcmdWithADouble::GetNewDoubleValue(const char* paramString)
|
||||
{
|
||||
G4double vl;
|
||||
const char* t = paramString;
|
||||
G4std::istrstream is((char*)t);
|
||||
G4std::istrstream is((char*)paramString);
|
||||
is >> vl;
|
||||
return vl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user