mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
Small fix for compile error on gcc 4.7+
This commit is contained in:
parent
5cf7a94538
commit
c50876d994
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ namespace CosmoTool
|
|||
HealpixSpectrum<T> *new_spectrum = new HealpixSpectrum<T>(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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue