Skip to content

Commit

Permalink
Re #5822. Clearing the compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-roman committed Sep 7, 2012
1 parent b85b736 commit 3cad034
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ void TabulatedFunction::loadWorkspace(boost::shared_ptr<MatrixWorkspace> ws)
const bool hist = ws->isHistogramData();
const size_t nbins = ws->blocksize();

double first = ws->readX(0)[0];
double last;
if ( hist ) { last = ws->readX(0)[nbins]; }
else { last = ws->readX(0)[nbins-1]; }
Expand Down

0 comments on commit 3cad034

Please sign in to comment.