瀏覽代碼

gcc can't find isinf

Former-commit-id: ce8c89f02f1ad6cef66e51277f1a112a5d2da5af
Alec Jacobson 8 年之前
父節點
當前提交
57da533d80
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/igl/per_vertex_point_to_plane_quadrics.cpp

+ 1 - 1
include/igl/per_vertex_point_to_plane_quadrics.cpp

@@ -124,7 +124,7 @@ IGL_INLINE void igl::per_vertex_point_to_plane_quadrics(
         "Edge flaps not agreeing on shared edge");
       // Edge vector on opposite face
       const Eigen::RowVectorXd eu = V.row(F(n,nc)) - p;
-      assert(!isinf(eu(0)));
+      assert(!std::isinf(eu(0)));
       // Matrix with vectors spanning plane as columns
       Eigen::MatrixXd A(ev.size(),2);
       A<<ev.transpose(),eu.transpose();