Correct comutation of metricsBdu in GDS driver (courtesy of M. Koefferlein).

This commit is contained in:
Jean-Paul Chaput 2018-07-17 13:36:17 +02:00
parent d99d797a40
commit 116d927d1e
1 changed files with 2 additions and 1 deletions

View File

@ -401,7 +401,8 @@ namespace {
_ostream << LIBNAME( "LIB" );
// Generate a GDSII which coordinates are relatives to the um.
double gridPerUu = 10e-6 / DbU::getPhysicalsPerGrid();
// Bug correction courtesy of M. Koefferlein (KLayout).
double gridPerUu = DbU::getPhysicalsPerGrid() / 1e-6;
record = GdsRecord( GdsRecord::UNITS );
record.push( _dbuPerUu );