33 Indexing::IndexInfo indexInfo(1);
34 auto singleValued = DataObjects::create<DataObjects::WorkspaceSingleValue>(indexInfo, HistogramData::Points(1));
36 singleValued->mutableX(0)[0] = 0.0;
37 singleValued->mutableY(0)[0] = dataValue;
38 singleValued->mutableE(0)[0] = errorValue;
40 setProperty(
"OutputWorkspace", std::move(singleValued));