attributes/point_d_vector: Prevent a singend/unsigned mismatch (#489)

This commit is contained in:
Frederic L 2019-03-06 00:33:20 +01:00 committed by Ondrej Stava
parent d1329465fc
commit 265bbfc617

View File

@ -42,7 +42,7 @@ class PseudoPointD {
// Specifically copies referenced memory
void swap(PseudoPointD &other) noexcept {
for (auto dim = 0; dim < dimension_; dim += 1)
for (internal_t dim = 0; dim < dimension_; dim += 1)
std::swap(mem_[dim], other.mem_[dim]);
}