Commit 07b5750f authored by Lynch, Vickie's avatar Lynch, Vickie
Browse files

Refs #23200 bin count set

parent 958e1a74
...@@ -115,6 +115,7 @@ void CentroidPeaksMD2::integrate(typename MDEventWorkspace<MDE, nd>::sptr ws) { ...@@ -115,6 +115,7 @@ void CentroidPeaksMD2::integrate(typename MDEventWorkspace<MDE, nd>::sptr ws) {
centroid[d] /= static_cast<coord_t>(signal); centroid[d] /= static_cast<coord_t>(signal);
V3D vecCentroid(centroid[0], centroid[1], centroid[2]); V3D vecCentroid(centroid[0], centroid[1], centroid[2]);
p.setBinCount(static_cast<double>(signal));
// Save it back in the peak object, in the dimension specified. // Save it back in the peak object, in the dimension specified.
try { try {
......
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