diff --git a/include/mitsuba/core/aabb.h b/include/mitsuba/core/aabb.h index 0b654f2e..043fdd5f 100644 --- a/include/mitsuba/core/aabb.h +++ b/include/mitsuba/core/aabb.h @@ -100,11 +100,10 @@ template struct TAABB { /// Calculate the n-dimensional volume of the bounding box inline value_type getVolume() const { - value_type result = 0; - for (int i=0; i