Commit 4d21e679 authored by RichardWaiteSTFC's avatar RichardWaiteSTFC
Browse files

Fix build warnings and apply requested changes

parent d1fcb6d4
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
// Copyright © 2020 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source,
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
// SPDX - License - Identifier: GPL - 3.0 +
......
......@@ -783,7 +783,7 @@ void IntegratePeaksMD2::findEllipsoid(
static_cast<double>(center[1]),
static_cast<double>(center[2]));
for (size_t d = 0; d < center.size(); ++d) {
center[d] = tmp[d];
center[d] = static_cast<coord_t>(tmp[d]);
}
}
......
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright &copy; 2018 ISIS Rutherford Appleton Laboratory UKRI,
// Copyright &copy; 2020 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source,
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
// SPDX - License - Identifier: GPL - 3.0 +
......
Supports Markdown
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