File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
highs/ipm/hipo/factorhighs Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1376,7 +1376,7 @@ void Analyse::findTreeSplitting() {
13761376
13771377 } else if (sn_parent_[sn] == -1 ) {
13781378 // sn is small root: single task with whole subtree
1379- NodeData& data = tree_splitting_.insert (sn);
1379+ NodeData& data = tree_splitting_.insertSubtree (sn);
13801380 data.group .push_back (sn);
13811381 data.firstdesc .push_back (first_desc[sn]);
13821382 }
Original file line number Diff line number Diff line change @@ -29,10 +29,12 @@ class TreeSplitting {
2929 // structure. Avoids too many lookups into the map.
3030 std::vector<bool > belong_;
3131
32+ private:
33+ NodeData& insert (Int sn);
34+
3235 public:
3336 void resize (Int sn_count);
3437
35- NodeData& insert (Int sn);
3638 NodeData& insertSingle (Int sn);
3739 NodeData& insertSubtree (Int sn);
3840
@@ -66,7 +68,7 @@ class TreeSplitting {
6668// - When d is ran, nothing happens, since it was already executed as part of
6769// the task that executed a.
6870// - When e is ran, a task is executed that executes the whole subtree of nodes
69- // e and f .
71+ // e and g .
7072// - When f is ran, a task is created that executes only that supernode.
7173// - When g is ran, nothing happens, since it was already executed as part of
7274// the task that executed e.
You can’t perform that action at this time.
0 commit comments