In CRL::GdsParser, GDS layers indexes up to 1024, just in case.
This commit is contained in:
parent
f3ccf31e48
commit
1569e2807e
|
@ -723,10 +723,10 @@ namespace {
|
||||||
|
|
||||||
void GdsStream::_staticInit ()
|
void GdsStream::_staticInit ()
|
||||||
{
|
{
|
||||||
_gdsLayerTable = vector<const Layer*>( 256, NULL );
|
_gdsLayerTable = vector<const Layer*>( 1024, NULL );
|
||||||
for ( const BasicLayer* layer : DataBase::getDB()->getTechnology()->getBasicLayers() ) {
|
for ( const BasicLayer* layer : DataBase::getDB()->getTechnology()->getBasicLayers() ) {
|
||||||
uint16_t gdsNumber = layer->getGds2Layer();
|
uint16_t gdsNumber = layer->getGds2Layer();
|
||||||
if (gdsNumber < 256) _gdsLayerTable[gdsNumber] = layer;
|
if (gdsNumber < 1024) _gdsLayerTable[gdsNumber] = layer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue