Skip to content
Snippets Groups Projects
Commit 1dd2f661 authored by Antti Soininen's avatar Antti Soininen
Browse files

Code beautification.

Re #20558
parent 554cb395
No related branches found
No related tags found
No related merge requests found
......@@ -414,9 +414,13 @@ void LineProfile::exec() {
// specified.
Box actualBounds;
actualBounds.top = verticalBins[vertInterval.first];
actualBounds.bottom = vertInterval.second < verticalBins.size() ? verticalBins[vertInterval.second] : verticalBins.back();
actualBounds.bottom = vertInterval.second < verticalBins.size()
? verticalBins[vertInterval.second]
: verticalBins.back();
actualBounds.left = horizontalBins[horInterval.first];
actualBounds.right = horInterval.second < horizontalBins.size() ? horizontalBins[horInterval.second] : horizontalBins.back();
actualBounds.right = horInterval.second < horizontalBins.size()
? horizontalBins[horInterval.second]
: horizontalBins.back();
setAxesAndUnits(*outWS, *ws, actualBounds, dir);
setProperty(PropertyNames::OUTPUT_WORKSPACE, outWS);
}
......
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