Skip to content
Snippets Groups Projects
user avatar
Verena Reimund authored
I could have added something like

    Counts counts{{4, 9, 16}};
    Points points{{0.4, 0.9, 1.1}};
    ws6->setHistogram(3, points, counts);
    for (auto i = 0; i < 5;
         i++) { // modify all 5 spectra in terms of Dx
      ws6->setPointStandardDeviations(i, 3);
      auto dx = Mantid::Kernel::make_cow<HistogramDx>(3, 8.8);
      ws6->setSharedDx(i, dx);
    }

But the current solution seems to be easier since I do not want to check Dx again here; if algorithm executed and did not throw is enough to test (->RunCombinationHelper).

Refs #22218
5508177f
History

Mantid

The Mantid project provides a framework that supports high-performance computing and visualisation of scientific data. Mantid has been created to manipulate and analyse Neutron and Muon scattering data, but could be applied to many other techniques. The framework is open source and supported on multiple target platforms (Windows, Linux, Mac OS X).

Useful links

Build Status Coverage Status Coverity Scan Build Status