瀏覽代碼

warnings

Former-commit-id: 74c1be4d18b705458e9921b985bc0f6eba79030c
Alec Jacobson 9 年之前
父節點
當前提交
62483b48c0
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      style-guidelines.md

+ 11 - 0
style-guidelines.md

@@ -302,3 +302,14 @@ edited by you first. This means for
 
 Whenever possible `#include` directives should be placed in the `.cpp`
 implementation file rather than the `.h` header file.
+
+## Warnings
+
+Code should compile without firing any warnings.
+
+### An Exception
+
+The only exception is for the use of the deprecated
+`Eigen::DynamicSparseMatrix` in core sub-routines (e.g. `igl::cat`). This class
+is still supported and faster than the standard, non-deprecated Eigen
+implementation so we're keeping it as long as possible and profitable.