1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 01:05:38 +01:00

Odd address sanitizer complain

This commit is contained in:
Peter Boyle 2023-08-25 17:34:18 -04:00
parent c14977aeab
commit 5d113d1c70

View File

@ -90,9 +90,8 @@ public:
order=_order; order=_order;
if(order < 2) exit(-1); if(order < 2) exit(-1);
Coeffs.resize(order); Coeffs.resize(order,0.0);
Coeffs.assign(0.,order); Coeffs[order-1] = 1.0;
Coeffs[order-1] = 1.;
}; };
// PB - more efficient low pass drops high modes above the low as 1/x uses all Chebyshev's. // PB - more efficient low pass drops high modes above the low as 1/x uses all Chebyshev's.