diff --git a/tests/TestCubicSurfaceExtractor.cpp b/tests/TestCubicSurfaceExtractor.cpp index 5833eba1..88e9b746 100644 --- a/tests/TestCubicSurfaceExtractor.cpp +++ b/tests/TestCubicSurfaceExtractor.cpp @@ -84,7 +84,7 @@ VolumeType* createAndFillVolumeWithNoise(int32_t iVolumeSideLength, typename Vol else { // Otherwise we write random voxel values between zero and the requested maximum - VolumeType::VoxelType voxelValue = static_cast(dist(rng)); + typename VolumeType::VoxelType voxelValue = static_cast(dist(rng)); volData->setVoxelAt(x, y, z, static_cast(voxelValue)); } }