Import Geant4 10.7.0 source tree
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
// Author: J.Apostolakis, CERN - 15.01.1997
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
#include <cassert>
|
||||
#include "G4MagIntegratorStepper.hh"
|
||||
|
||||
// Constructor for stepper abstract base class.
|
||||
@@ -43,4 +44,9 @@ G4MagIntegratorStepper( G4EquationOfMotion* Equation,
|
||||
fNoStateVariables(std::max(num_state_vars,8)),
|
||||
fIsFSAL(isFSAL)
|
||||
{
|
||||
if( Equation == nullptr ) {
|
||||
G4Exception( "G4MagIntegratorStepper::G4MagIntegratorStepper", "GeomField0003",
|
||||
FatalErrorInArgument, "Must have non-null equation." );
|
||||
}
|
||||
assert( Equation != nullptr );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user