Skip to content

Commit

Permalink
refs #7261. Remove unused vars.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Jun 10, 2013
1 parent adfc199 commit c0d5d0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Crystal/src/PeaksInRegion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ namespace Crystal
&& testPoint[2]>= extents[4] && testPoint[2] <= extents[5];
}

void checkTouchPoint(const V3D& touchPoint,const V3D& normal,const V3D& peakCenter,const V3D& faceVertex, const double distance)
void checkTouchPoint(const V3D& touchPoint,const V3D& normal,const V3D& faceVertex)
{
if( normal.scalar_prod(touchPoint - faceVertex) != 0)
{
Expand Down Expand Up @@ -269,7 +269,7 @@ namespace Crystal
// Check that it is actually within the face boundaries.
V3D touchPoint = (normals[i] * distance) + peakCenter; // Vector equation of line give touch point on plane.

//checkTouchPoint(touchPoint, normals[i], peakCenter, faces[i][0], distance); // Debugging line.
//checkTouchPoint(touchPoint, normals[i], faces[i][0]); // Debugging line.

if(pointInsideAllExtents(touchPoint, extents))
{
Expand Down

0 comments on commit c0d5d0f

Please sign in to comment.