浏览代码

typo

Former-commit-id: 779654bea0713e38597a72fd60058d721d9ec13c
Alec Jacobson 9 年之前
父节点
当前提交
3e7e4763bd
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
       }