1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-15 10:15:36 +00:00

Fixing an initialization found by Yong-Chull

This commit is contained in:
Chulwoo Jung 2017-12-12 18:46:11 -05:00
parent 5d44346be3
commit 7305910c95

View File

@ -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.;
}; };