Skip to content
Snippets Groups Projects
Commit 8be4a653 authored by Rene Brun's avatar Rene Brun
Browse files

Minor correction in previous fix

git-svn-id: http://root.cern.ch/svn/root/trunk@7937 27541ba8-7e3a-0410-8455-c3a389f83636
parent f69cc6f0
Branches
Tags
No related merge requests found
// @(#)root/geom:$Name: $:$Id: TGeoCache.cxx,v 1.22 2003/10/01 17:53:11 brun Exp $
// @(#)root/geom:$Name: $:$Id: TGeoCache.cxx,v 1.23 2004/01/19 13:43:15 brun Exp $
// Author: Andrei Gheata 18/03/02
/*************************************************************************
......@@ -148,7 +148,7 @@ void TGeoNodeCache::BuildIdArray()
// Builds node id array.
Int_t nnodes = gGeoManager->GetNNodes();
//if (nnodes>3E7) return;
if (nnodes>7) return;
if (nnodes>0) return; //do not use the node cache by default
if (fNodeIdArray) delete [] fNodeIdArray;
fNodeIdArray = new Int_t[2*nnodes+1];
fNodeIdArray[0] = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment