def: Fix export units for non-lambda processes
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
ddb684bfe1
commit
a8dd84838b
|
@ -150,7 +150,7 @@ namespace {
|
|||
|
||||
|
||||
int DefDriver::getUnits () { return _units; }
|
||||
int DefDriver::toDefUnits ( DbU::Unit u ) { return (int)round(DbU::getLambda(u)*getUnits()); }
|
||||
int DefDriver::toDefUnits ( DbU::Unit u ) { return (int)round(DbU::getGrid(u)); }
|
||||
DbU::Unit DefDriver::getSliceHeight () { return _sliceHeight; }
|
||||
DbU::Unit DefDriver::getPitchWidth () { return _pitchWidth; };
|
||||
inline Cell* DefDriver::getCell () { return _cell; }
|
||||
|
|
Loading…
Reference in New Issue