Commit f604df1a authored by Marcus D. Hanwell's avatar Marcus D. Hanwell Committed by Code Review
Browse files

Merge topic 'charts-double-precision' into master

62f8f2ab COMP: Fixed ambiguous overload seen on Windows
parents 74ce8a21 62f8f2ab
......@@ -228,7 +228,7 @@ bool vtkChart::CalculatePlotTransform(vtkAxis *x, vtkAxis *y,
if (fabs(log10(scale[i])) > 10)
{
// We need to scale the transform to show all data, do this in blocks.
factor[i] = pow(10, floor(log10(scale[i]) / 10.0) * -10.0);
factor[i] = pow(10.0, floor(log10(scale[i]) / 10.0) * -10.0);
scale[i] = scale[i] * factor[i];
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment