mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-24 12:45:56 +01: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);
|
if(order < 2) exit(-1);
|
||||||
Coeffs.resize(order);
|
Coeffs.resize(order);
|
||||||
Coeffs.assign(0.,order);
|
Coeffs.assign(order,0.);
|
||||||
Coeffs[order-1] = 1.;
|
Coeffs[order-1] = 1.;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user