Skip to content
Snippets Groups Projects
Commit a76c494a authored by Harry Jeffery's avatar Harry Jeffery
Browse files

Refs #11704 Remove unused function

parent 62bfebd3
No related branches found
No related tags found
No related merge requests found
...@@ -961,25 +961,6 @@ int LineViewer::getPlotAxis() const { return m_lineOptions->getPlotAxis(); } ...@@ -961,25 +961,6 @@ int LineViewer::getPlotAxis() const { return m_lineOptions->getPlotAxis(); }
// ================================================= // =================================================
// ============================================================================================== // ==============================================================================================
/**
* Helper method to get the positive min value.
* @param curveData : CurveData to look through the data of.
* @param from : Start value
* @return : Positive min value.
*/
double getPositiveMin(const MantidQwtWorkspaceData &curveData,
const double from) {
double yPositiveMin = from;
size_t n = curveData.size();
for (size_t i = 0; i < n; ++i) {
double y = curveData.y(i);
if (y > 0 && y < yPositiveMin) {
yPositiveMin = y;
}
}
return yPositiveMin;
}
/** /**
* Set up the appropriate scale engine. * Set up the appropriate scale engine.
* Uses the isLogScaled method to work out which scale engine to make. * Uses the isLogScaled method to work out which scale engine to make.
......
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