File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -392,9 +392,7 @@ class HighsHashTree {
392392 struct BranchNode {
393393 Occupation occupation;
394394
395- NodePtr* children () {
396- return reinterpret_cast <NodePtr*>(this + 1 );
397- }
395+ NodePtr* children () { return reinterpret_cast <NodePtr*>(this + 1 ); }
398396
399397 const NodePtr* children () const {
400398 return reinterpret_cast <const NodePtr*>(this + 1 );
@@ -692,8 +690,7 @@ class HighsHashTree {
692690 BranchNode* compressedBranch = (BranchNode*)::operator new (newSize);
693691 newNode = compressedBranch;
694692
695- size_t leftSize =
696- sizeof (BranchNode) + size_t (location) * sizeof (NodePtr);
693+ size_t leftSize = sizeof (BranchNode) + size_t (location) * sizeof (NodePtr);
697694 memcpy (compressedBranch, branch, leftSize);
698695 memcpy (compressedBranch->childPtr (location),
699696 branch->childPtr (location + 1 ), rightSize);
@@ -1309,8 +1306,7 @@ class HighsHashTree {
13091306 BranchNode* branch = node.getBranchNode ();
13101307 int size = branch->occupation .num_set ();
13111308
1312- for (int i = 0 ; i < size; ++i)
1313- for_each_recurse<R>(branch->child (i), f);
1309+ for (int i = 0 ; i < size; ++i) for_each_recurse<R>(branch->child (i), f);
13141310 }
13151311 }
13161312 }
You can’t perform that action at this time.
0 commit comments