mirror of https://github.com/KLayout/klayout.git
Fixed #960 (cap value not shown in netlist browser)
This commit is contained in:
parent
5f73d11fb1
commit
6c34ce14c0
|
|
@ -326,7 +326,7 @@ std::string device_parameter_string (const db::Device *device)
|
|||
const std::vector<db::DeviceParameterDefinition> &pd = device->device_class ()->parameter_definitions ();
|
||||
for (std::vector<db::DeviceParameterDefinition>::const_iterator p = pd.begin (); p != pd.end (); ++p) {
|
||||
double v = device->parameter_value (p->id ());
|
||||
if (! tl::equal (v, p->default_value ())) {
|
||||
if (v > 0.0) {
|
||||
if (first) {
|
||||
s += " [";
|
||||
first = false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue