Fix compilation process. Fix compile error on new compiler
This commit is contained in:
parent
8cbec6637c
commit
170e7b7020
4 changed files with 55 additions and 32 deletions
|
@ -75,7 +75,7 @@ int main()
|
|||
cout << "iy=" << iy << endl;
|
||||
for (uint32_t ix = 0; ix < NX; ix++)
|
||||
{
|
||||
MyTree::coords c = { 1.0*ix/NX, 1.0*iy/NX };
|
||||
MyTree::coords c = { 1.0f*ix/NX, 1.0f*iy/NX };
|
||||
smooth.fetchNeighbours(c);
|
||||
smooth.addGridSite(c);
|
||||
}
|
||||
|
@ -92,7 +92,7 @@ int main()
|
|||
cout << "iy=" << iy << endl;
|
||||
for (uint32_t ix = 0; ix < NX; ix++)
|
||||
{
|
||||
MyTree::coords c = { 1.0*ix/NX, 1.0*iy/NX };
|
||||
MyTree::coords c = { 1.0f*ix/NX, 1.0f*iy/NX };
|
||||
smooth.fetchNeighbours(c, &state);
|
||||
out.put(smooth.computeSmoothedValue(c, unit_fun, &state));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue