diff --git a/library/src/image.cxx b/library/src/image.cxx index 9fc2bfc4cc..121b95d6c5 100644 --- a/library/src/image.cxx +++ b/library/src/image.cxx @@ -403,7 +403,7 @@ double image::compare(const image& reference) const imDiff->SetThreshold(0); imDiff->SetInputData(this->Internals->Image); imDiff->SetImageData(reference.Internals->Image); - imDiff->UpdateInformation(); + imDiff->Update(); double error = imDiff->GetThresholdedError(); return error / 1000.0; #endif