Fixed missing explicit std namespace

This commit is contained in:
Guilhem Lavaux 2013-04-07 14:40:36 -04:00
parent 848f557626
commit 0f57cca2f5

View File

@ -87,7 +87,7 @@ namespace CosmoTool
HealpixSpectrum<T> *new_spectrum = new HealpixSpectrum<T>(in_spec.Lmax()); HealpixSpectrum<T> *new_spectrum = new HealpixSpectrum<T>(in_spec.Lmax());
T *out_d = new_spectrum->data(); 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); return Spectrum_ptr(new_spectrum);
} }