Commit 06540e13 authored by Nathanael Schaeffer @lgit-1177's avatar Nathanael Schaeffer @lgit-1177
Browse files

Ready for v2.4

parent eeda8d4c
......@@ -60,7 +60,7 @@ DOCUMENTATION:
CHANGE LOG:
v2.4 (1 Aug 2013)
v2.4 (5 Aug 2013)
- new scalar transforms for complex spatial fields: SH_to_spat_cplx()
and spat_cplx_to_SH().
- new shtns_verbose() function to control output during initialization.
......
......@@ -1986,9 +1986,7 @@ int shtns_set_grid_auto(shtns_cfg shtns, enum shtns_type flags, double eps, int
if (*nlat == 0) {
n_gauss = ((nl_order+1)*LMAX)/2 +1; // required gauss nodes
n_gauss += (n_gauss&1); // even is better.
#if _GCC_VEC_
n_gauss = ((n_gauss+(VSIZE2-1))/VSIZE2) * VSIZE2; // multiple of vector size
#endif
n_gauss = ((n_gauss+(VSIZE2-1))/VSIZE2) * VSIZE2; // multiple of vector size
if (flags != sht_gauss) {
m = fft_int(nl_order*LMAX+2, 7); // required dct nodes
*nlat = m + (m&1); // even is better.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment