mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
Odd address sanitizer complain
This commit is contained in:
parent
c14977aeab
commit
5d113d1c70
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user