Fixed missing explicit std namespace
This commit is contained in:
parent
848f557626
commit
0f57cca2f5
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user