mirror of https://github.com/KLayout/klayout.git
First version that works with the test case
This commit is contained in:
parent
01b65d3699
commit
1b01d6e20a
|
|
@ -1953,15 +1953,13 @@ DeepRegion::run_check (db::edge_relation_type rel, bool different_polygons, cons
|
|||
|
||||
const db::DeepLayer &polygons = needs_merged_primary ? merged_deep_layer () : deep_layer ();
|
||||
|
||||
{
|
||||
// create cell variants for magnification if needed
|
||||
// create cell variants for magnification if needed
|
||||
|
||||
db::cell_variants_collector<db::MagnificationReducer> vars;
|
||||
vars.collect (polygons.layout (), polygons.initial_cell ());
|
||||
db::cell_variants_collector<db::MagnificationReducer> vars;
|
||||
vars.collect (polygons.layout (), polygons.initial_cell ());
|
||||
|
||||
// NOTE: m_merged_polygons is mutable, so why is the const_cast needed?
|
||||
const_cast<db::DeepLayer &> (polygons).separate_variants (vars);
|
||||
}
|
||||
// NOTE: m_merged_polygons is mutable, so why is the const_cast needed?
|
||||
const_cast<db::DeepLayer &> (polygons).separate_variants (vars);
|
||||
|
||||
if (other_deep && &other_deep->deep_layer ().layout () != &polygons.layout ()) {
|
||||
|
||||
|
|
@ -2002,6 +2000,7 @@ DeepRegion::run_check (db::edge_relation_type rel, bool different_polygons, cons
|
|||
subject_breakout_cells, intruder_breakout_cells);
|
||||
|
||||
configure_proc (proc);
|
||||
proc.set_vars (&vars);
|
||||
proc.set_threads (polygons.store ()->threads ());
|
||||
|
||||
proc.run (&op, polygons.layer (), other_layer, res->deep_layer ().layer ());
|
||||
|
|
@ -2015,6 +2014,7 @@ DeepRegion::run_check (db::edge_relation_type rel, bool different_polygons, cons
|
|||
subject_breakout_cells, intruder_breakout_cells);
|
||||
|
||||
configure_proc (proc);
|
||||
proc.set_vars (&vars);
|
||||
proc.set_threads (polygons.store ()->threads ());
|
||||
|
||||
proc.run (&op, polygons.layer (), other_layer, res->deep_layer ().layer ());
|
||||
|
|
|
|||
Loading…
Reference in New Issue