Browse Source

typo

Former-commit-id: 779654bea0713e38597a72fd60058d721d9ec13c
Alec Jacobson 9 years ago
parent
commit
3e7e4763bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/igl/signed_distance.cpp

+ 1 - 1
include/igl/signed_distance.cpp

@@ -154,7 +154,7 @@ IGL_INLINE void igl::signed_distance(
           signed_distance_pseudonormal(tree3,V,F,FN,VN,EN,EMAP,q3,s,sqrd,i,c3,n3):
           signed_distance_pseudonormal(tree2,V,F,FN,VN,q2,s,sqrd,i,c2,n2);
         Eigen::RowVectorXd n;
-        (dim==3 ? n = n3 : n = n3);
+        (dim==3 ? n = n3 : n = n2);
         N.row(p) = n;
         break;
       }