Skip to content
Snippets Groups Projects
Commit 4f5a5f3b authored by Thomas Jahns's avatar Thomas Jahns :cartwheel: Committed by Sergey Kosukhin
Browse files

Fix missing explicit integer to floating-point conversion.

parent f69b7ee1
No related branches found
No related tags found
No related merge requests found
......@@ -1016,7 +1016,7 @@ cdiPioDistGridDefAReductions(grid_t *gridptr, size_t saIdx)
if (saIdx == cdiPioGDsaXVals)
{
double xval0 = scanVals[0], xvalW = scanVals[lsize];
refInc = (fabs(xvalW) - fabs(xval0)) / (gsize - 1);
refInc = (fabs(xvalW) - fabs(xval0)) / (double) (gsize - 1);
}
else if (saIdx == cdiPioGDsaYVals)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment