Skip to content
Snippets Groups Projects
Commit 235be77d authored by Martyn Gigg's avatar Martyn Gigg
Browse files

Merge pull request #16276 from mantidproject/fix_isDistribution_name_change_compilation_error

Fix builds: rename isDistribution=>setDistribution in new files, as in PR #16061
parents 1bc935f1 6595cb5c
No related branches found
No related tags found
No related merge requests found
...@@ -213,7 +213,7 @@ bool hasQDev(H5::Group &dataGroup) { ...@@ -213,7 +213,7 @@ bool hasQDev(H5::Group &dataGroup) {
void loadData1D(H5::Group &dataGroup, void loadData1D(H5::Group &dataGroup,
Mantid::API::MatrixWorkspace_sptr workspace) { Mantid::API::MatrixWorkspace_sptr workspace) {
// General // General
workspace->isDistribution(true); workspace->setDistribution(true);
// Load the Q value // Load the Q value
Mantid::MantidVec qData = Mantid::MantidVec qData =
...@@ -326,7 +326,7 @@ void readQyInto2DWorkspace(H5::DataSet &dataSet, ...@@ -326,7 +326,7 @@ void readQyInto2DWorkspace(H5::DataSet &dataSet,
void loadData2D(H5::Group &dataGroup, void loadData2D(H5::Group &dataGroup,
Mantid::API::MatrixWorkspace_sptr workspace) { Mantid::API::MatrixWorkspace_sptr workspace) {
// General // General
workspace->isDistribution(true); workspace->setDistribution(true);
//----------------------------------------- //-----------------------------------------
// Load the I value. // Load the I value.
auto iDataSet = dataGroup.openDataSet(sasDataI); auto iDataSet = dataGroup.openDataSet(sasDataI);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment