Skip to content

Commit

Permalink
Fix bug in contact search
Browse files Browse the repository at this point in the history
Contact distance calculation was wrong.  -Wshadow would have caught this.
Addresses #852

r8992
  • Loading branch information
bwspenc authored and permcody committed Feb 14, 2014
1 parent f88539c commit 9d56af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/src/geomsearch/FindContactPoint.C
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ findContactPoint(PenetrationLocator::PenetrationInfo & p_info,
// Newton Loop
for(; nit<12 && update_size > TOLERANCE*TOLERANCE; nit++)
{
RealGradient d = slave_point - phys_point[0];
d = slave_point - phys_point[0];

DenseMatrix<Real> jac(dim-1, dim-1);

Expand Down

0 comments on commit 9d56af2

Please sign in to comment.