Commit 6eb057e0 authored by Ben Boeckel's avatar Ben Boeckel

vtkImageSpacingFlip: use std::fabs

parent 37549711
......@@ -70,7 +70,7 @@ int vtkImageSpacingFlip::RequestData(vtkInformation* /*request*/,
flipper->SetInputData(input);
flipper->Update();
output->DeepCopy(flipper->GetOutput());
output->SetSpacing(fabs(spacing[0]), fabs(spacing[1]), fabs(spacing[2]));
output->SetSpacing(std::fabs(spacing[0]), std::fabs(spacing[1]), std::fabs(spacing[2]));
output->SetOrigin(origin);
}
......
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