瀏覽代碼

[curvature] Updated assert message

Former-commit-id: a91e1fe32a2dfb2e7c2aaa88b78b198123658d6b
Guillaume Jacquenot 7 年之前
父節點
當前提交
bf527884da
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/igl/principal_curvature.cpp

+ 1 - 1
include/igl/principal_curvature.cpp

@@ -110,7 +110,7 @@ public:
       assert(VV.size() >= 5);
       if (VV.size() < 5)
       {
-        std::cerr << "ASSERT FAILED!" << std::endl;
+        std::cerr << "ASSERT FAILED! fit function requires at least 5 points: Only " << VV.size() << " were given." << std::endl;
         exit(0);
       }