| commit | db61b8d47825e55e348a66e77cb9e1f1cbae066b | [log] [tgz] |
|---|---|---|
| author | Jan van Dijk <j.v.dijk@tue.nl> | Fri Feb 12 18:35:35 2021 +0000 |
| committer | Rasmus Munk Larsen <rmlarsen@google.com> | Fri Feb 12 18:35:35 2021 +0000 |
| tree | 6d5bbe09eb72bc9c518a17d8e4c3638762786726 | |
| parent | 622c59894444cd5f6af19b069a51672b82e60927 [diff] |
Avoid -Wunused warnings in NDEBUG builds. In two places in SuperLUSupport.h, a local variable 'size' is created that is used only inside an eigen_assert. Remove these, just fetch the required values inside the assert statements. This avoids annoying -Wunused warnings (and -Werror=unused errors) in NDEBUG builds.
Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
For more information go to http://eigen.tuxfamily.org/.
For pull request, bug reports, and feature requests, go to https://gitlab.com/libeigen/eigen.