From da0d5238ee74a20e6e6ccb0a04ea054a44fad458 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Mon, 25 Nov 2013 15:43:27 +0100 Subject: [PATCH] get rid of minor warnings --- src/libcore/shvector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcore/shvector.cpp b/src/libcore/shvector.cpp index 272345d3..98750353 100644 --- a/src/libcore/shvector.cpp +++ b/src/libcore/shvector.cpp @@ -34,7 +34,7 @@ SHVector::SHVector(Stream *stream) { void SHVector::serialize(Stream *stream) const { stream->writeInt(m_bands); - for (size_t i=0; iwriteFloat(m_coeffs[i]); } @@ -132,7 +132,7 @@ Float SHVector::evalAzimuthallyInvariant(const Vector &v) const { void SHVector::normalize() { Float correction = 1/(2 * (Float) std::sqrt(M_PI)*operator()(0,0)); - for (size_t i=0; i