mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-15 02:05:37 +00:00
Fixing an initialization found by Yong-Chull
This commit is contained in:
parent
5d44346be3
commit
7305910c95
@ -115,7 +115,7 @@ namespace Grid {
|
||||
|
||||
if(order < 2) exit(-1);
|
||||
Coeffs.resize(order);
|
||||
Coeffs.assign(0.,order);
|
||||
Coeffs.assign(order,0.);
|
||||
Coeffs[order-1] = 1.;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user