Commit 62f8f2ab authored by Marcus D. Hanwell's avatar Marcus D. Hanwell
Browse files

COMP: Fixed ambiguous overload seen on Windows

Change-Id: Id38cfaa4d2026de4a45b587d7a8c08aaa4a69e38
parent 082acecc
......@@ -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