Skip to content

Commit

Permalink
Re #10462. Compiler warning fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-roman committed Oct 31, 2014
1 parent d16c880 commit c1a96a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/MDAlgorithms/src/SXDMDNorm.cpp
Expand Up @@ -608,7 +608,7 @@ namespace MDAlgorithms
// claculate the integration points and save them in the x-vactors of integrFlux
double xMin = flux.getEventXMin();
double xMax = flux.getEventXMax();
double dx = ( xMax - xMin ) / ( integrFlux.blocksize() - 1 );
double dx = ( xMax - xMin ) / static_cast<double>( integrFlux.blocksize() - 1 );
auto &X = integrFlux.dataX(0);
auto ix = X.begin();
// x-values are equally spaced between the min and max tof in the first flux spectrum
Expand Down

0 comments on commit c1a96a0

Please sign in to comment.