Browse Source

[curvature] Updated assert message

Former-commit-id: a91e1fe32a2dfb2e7c2aaa88b78b198123658d6b
Guillaume Jacquenot 7 years ago
parent
commit
bf527884da
1 changed files with 1 additions and 1 deletions
  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);
       }