Commit 03f237cb authored by incardon's avatar incardon
Browse files

Fixing decomposition for disconnected component withing the same processor

parent 051d133d
...@@ -541,9 +541,6 @@ private: ...@@ -541,9 +541,6 @@ private:
sub_id++; sub_id++;
} }
// Construct box box_nn_processor from the constructed domain
construct_box_nn_processor<p_id>(graph,box_nn_processor,lb,ghe,bc,pr_id);
return sub_id; return sub_id;
} }
...@@ -662,6 +659,10 @@ public: ...@@ -662,6 +659,10 @@ public:
if (pr_id == -1) if (pr_id == -1)
{ {
optimize<p_sub,p_id>(key_seed,graph,pr_id,lb,box_nn_processor,ghe,bc); optimize<p_sub,p_id>(key_seed,graph,pr_id,lb,box_nn_processor,ghe,bc);
// Construct box box_nn_processor from the constructed domain
construct_box_nn_processor<p_id>(graph,box_nn_processor,lb,ghe,bc,pr_id);
return; return;
} }
...@@ -680,6 +681,9 @@ public: ...@@ -680,6 +681,9 @@ public:
// new seed // new seed
key_seed = search_seed<p_id,p_sub>(graph,pr_id); key_seed = search_seed<p_id,p_sub>(graph,pr_id);
} }
// Construct box box_nn_processor from the constructed domain
construct_box_nn_processor<p_id>(graph,box_nn_processor,lb,ghe,bc,pr_id);
} }
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment