Skip to content

Commit

Permalink
refs #6651 - remove compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartcampbell committed Mar 4, 2013
1 parent fbf3e16 commit 8a270d7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ namespace Algorithms

// Get the number of spectra
const std::size_t numberOfChannels = inputWS->blocksize();
const int numberOfSpectra = static_cast<int>(inputWS->size() / numberOfChannels);
//const int numberOfSpectra = static_cast<int>(inputWS->size() / numberOfChannels);


// Get L1
Expand Down Expand Up @@ -192,8 +192,8 @@ namespace Algorithms
// Get secondary flight path (L2)
double l2 = det->getDistance(*sample);
// Get scattering angle (radians)
double twoTheta = det->getTwoTheta(sample->getPos(),
Kernel::V3D(0.0,0.0,1.0)*Geometry::rad2deg);
// double twoTheta = det->getTwoTheta(sample->getPos(),
// Kernel::V3D(0.0,0.0,1.0)*Geometry::rad2deg);

// Now let's work out what energy is required for this TOF
double ltotal = l1+l2;
Expand Down

0 comments on commit 8a270d7

Please sign in to comment.