Coding style cleanup

This commit is contained in:
Alexander Bock
2020-02-14 19:37:06 +01:00
parent 166eee8b28
commit 5e29145395
119 changed files with 643 additions and 348 deletions

View File

@@ -117,7 +117,8 @@ bool ErrorHistogramManager::buildFromLeaf(unsigned int bstOffset,
_histograms[innerNodeIndex] = Histogram(_minBin, _maxBin, _numBins);
ancestorVoxels = readValues(ancestorBrickIndex);
_voxelCache[innerNodeIndex] = ancestorVoxels;
} else {
}
else {
ancestorVoxels = it->second;
}
@@ -289,7 +290,8 @@ const Histogram* ErrorHistogramManager::histogram(unsigned int brickIndex) const
const unsigned int innerNodeIndex = brickToInnerNodeIndex(brickIndex);
if (innerNodeIndex < _numInnerNodes) {
return &(_histograms[innerNodeIndex]);
} else {
}
else {
return nullptr;
}
}