diff --git a/dlib/image_transforms/interpolation.h b/dlib/image_transforms/interpolation.h index 086c956e6..09abc421c 100644 --- a/dlib/image_transforms/interpolation.h +++ b/dlib/image_transforms/interpolation.h @@ -1403,7 +1403,7 @@ namespace dlib std::vector objtemp; std::vector objtemp2; - typename image_array_type::image_type temp; + typename image_array_type::value_type temp; for (long i = 0; i < angles.size(); ++i) { for (unsigned long j = 0; j < images.size(); ++j)