This bugzilla service is closed. All entries have been migrated to
Bug 451 - Warning with clang: missing parentheses in SparseLU.h
Summary: Warning with clang: missing parentheses in SparseLU.h
Alias: None
Product: Eigen
Classification: Unclassified
Component: Unsupported modules (show other bugs)
Version: 3.0
Hardware: All Linux
: Normal minor
Assignee: Nobody
Depends on:
Reported: 2012-04-22 19:36 UTC by romain.bossart
Modified: 2019-12-04 11:36 UTC (History)
1 user (show)


Description romain.bossart 2012-04-22 19:36:16 UTC
Hi, this kind of warning could easily be suppressed with clang's advice.

/usr/include/eigen3/unsupported/Eigen/src/SparseExtra/SparseLU.h:107:24: note: place parentheses around the '&' expression to silence this warning
      m_flags = m_flags&~OrderingMask | m&OrderingMask;
                (                    )

Thanks in advance,
Best best regards!

Comment 1 Jitse Niesen 2012-04-29 17:46:18 UTC
Fixed in changeset d7a07bd320f9 . I later realized that the SparseLU module is removed in the upcoming 3.1 release, so perhaps not the most urgent bug fix.
Comment 2 Nobody 2019-12-04 11:36:49 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to'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:

Note You need to log in before you can comment on or make changes to this bug.