Import Geant4 11.0.0 source tree
This commit is contained in:
committed by
Ben Morgan
parent
6399a014b6
commit
80e2389dd8
@@ -45,7 +45,7 @@ G4int G4DCtable::Registor(G4String DMname,G4String DCname)
|
||||
G4int G4DCtable::GetCollectionID(G4String DCname) const
|
||||
{
|
||||
G4int i = -1;
|
||||
if(DCname.index("/")==std::string::npos) // DCname only
|
||||
if(DCname.find("/")==std::string::npos) // DCname only
|
||||
{
|
||||
for(int j=0;j<int(DClist.size());j++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user