aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Partitioning.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Partitioning.h b/src/Partitioning.h
index 17bc1998e..db2e63c11 100644
--- a/src/Partitioning.h
+++ b/src/Partitioning.h
@@ -182,7 +182,7 @@ public:
T upper = Partitions();
do {
const T middle = (upper + lower + 1) / 2; // Round high
- T posMiddle = body.ValueAt(middle);
+ T posMiddle = body[middle];
if (middle > stepPartition)
posMiddle += stepLength;
if (pos < posMiddle) {