Commit 6bcf7def authored by Peterson, Peter's avatar Peterson, Peter
Browse files

Change copy to reference

parent a669155d
......@@ -89,7 +89,7 @@ double initBoundingBox(WorkspaceBoundingBox &boundingBox, const int numSpec, con
double updateBoundingBox(WorkspaceBoundingBox &boundingBox, WorkspaceBoundingBox &previousBoundingBox,
const int numSpec, const double beamRadius, const bool directBeam) {
double totalCount = 0;
const auto spectrumInfo = boundingBox.getWorkspace()->spectrumInfo();
const auto &spectrumInfo = boundingBox.getWorkspace()->spectrumInfo();
for (int i = 0; i < numSpec; i++) {
if (!boundingBox.isValidWs(i))
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