SparseExtra/Amd.h defines the following macros which could easily be replaced by inline functions (thus avoiding warnings when also including CSparse headers) #define CS_FLIP(i) (-(i)-2) #define CS_UNFLIP(i) (((i) < 0) ? CS_FLIP(i) : (i)) #define CS_MARKED(w,j) (w[j] < 0) #define CS_MARK(w,j) { w[j] = CS_FLIP (w[j]); }
totally agree!
https://bitbucket.org/eigen/eigen/changeset/03e8ba5bde7b/ changeset: 03e8ba5bde7b date: 2011-12-04 19:15:23 summary: fix bug 281: replace csparse macros by template functions
-- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/281.