Merge branch 'master' of ssh://bitbucket.org/glavaux/cosmotool
This commit is contained in:
commit
0a412e0ec3
3 changed files with 20 additions and 17 deletions
|
@ -87,7 +87,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