Import Geant4 5.0.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MagErrorStepper.icc,v 1.8 2001/07/11 09:59:08 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// $Id: G4MagErrorStepper.icc,v 1.9 2002/11/09 03:06:15 japost Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
|
||||
inline
|
||||
@@ -30,7 +30,7 @@ G4MagErrorStepper::G4MagErrorStepper(G4Mag_EqRhs *EqRhs,
|
||||
G4int numberOfVariables)
|
||||
: G4MagIntegratorStepper(EqRhs,numberOfVariables)
|
||||
{
|
||||
G4int nvar = this->GetNumberOfVariables() ;
|
||||
G4int nvar = G4std::max(this->GetNumberOfVariables(), 8);
|
||||
yMiddle= new G4double[nvar];
|
||||
dydxMid= new G4double[nvar];
|
||||
yInitial= new G4double[nvar];
|
||||
|
||||
Reference in New Issue
Block a user