mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-03 16:30:20 +02:00
[consider merging] Fixed a type bug in l2n reader
This commit is contained in:
@@ -458,7 +458,7 @@ void LayoutToNetlistStandardReader::read_netlist (db::Netlist *netlist, db::Layo
|
||||
std::string param_name;
|
||||
read_word_or_quoted (param_name);
|
||||
int primary = read_int ();
|
||||
int default_value = read_double ();
|
||||
double default_value = read_double ();
|
||||
if (! dc->has_parameter_with_name (param_name)) {
|
||||
db::DeviceParameterDefinition pd;
|
||||
pd.set_name (param_name);
|
||||
|
||||
Reference in New Issue
Block a user