mirror of https://github.com/KLayout/klayout.git
Merge pull request #1759 from KLayout/bugfix/issue-1743
Fixed issue #1743 (strmxor shows no difference, klayout xor shows 85,…
This commit is contained in:
commit
e56c7d6948
|
|
@ -1440,7 +1440,8 @@ XORToolDialog::run_xor ()
|
|||
}
|
||||
XORJob job (nworkers, output_mode, op, el_handling, dbu, cva, cvb, tolerances, sub_categories, layer_categories, sub_cells, sub_output_layers, rdb, rdb_cell);
|
||||
|
||||
double common_dbu = tl::lcm (cva->layout ().dbu (), cvb->layout ().dbu ());
|
||||
// NOTE: uses min of both DBUs (see issue #1743)
|
||||
double common_dbu = std::min (cva->layout ().dbu (), cvb->layout ().dbu ());
|
||||
|
||||
for (std::vector<db::DBox>::const_iterator b = boxes.begin (); b != boxes.end (); ++b) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue