From 0f57cca2f532930df4509f7c19660136873408cb Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Sun, 7 Apr 2013 14:40:36 -0400 Subject: [PATCH] Fixed missing explicit std namespace --- src/fourier/details/healpix_utility.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fourier/details/healpix_utility.hpp b/src/fourier/details/healpix_utility.hpp index 8803ae9..11219d6 100644 --- a/src/fourier/details/healpix_utility.hpp +++ b/src/fourier/details/healpix_utility.hpp @@ -87,7 +87,7 @@ namespace CosmoTool HealpixSpectrum *new_spectrum = new HealpixSpectrum(in_spec.Lmax()); T *out_d = new_spectrum->data(); - std::copy(data, data + min(size,new_spectrum->size()), out_d); + std::copy(data, data + std::min(size,new_spectrum->size()), out_d); return Spectrum_ptr(new_spectrum); }