Skip to content

Commit

Permalink
fix warning sizet int. re #10689
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders-Markvardsen committed Dec 11, 2014
1 parent 61fbc10 commit 3a9b6bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void TOFSANSResolutionByPixel::exec()
MantidVec& yIn = inOutWS->dataY(i);
const size_t xLength = xIn.size();

for ( int j = 0; j < xLength-1; j++)
for ( size_t j = 0; j < xLength-1; j++)
{
// Calculate q. Alternatively q could be calculated using ConvertUnit
const double wl = (xIn[j+1]+xIn[j])/2.0;
Expand Down

0 comments on commit 3a9b6bd

Please sign in to comment.