| commit | 6c9c3f9a1a4d17c6eaa8008d13bde3a5fe23e04a | [log] [tgz] |
|---|---|---|
| author | David Tellenbach <david.tellenbach@me.com> | Thu Nov 19 18:49:09 2020 +0100 |
| committer | David Tellenbach <david.tellenbach@me.com> | Thu Nov 19 18:49:09 2020 +0100 |
| tree | de32c7d7aaa338bba3b31c438c963d2e9c2ed210 | |
| parent | a8fdcae55d1f002966fc9b963597a404f30baa09 [diff] |
Remove explicit casts from Eigen::half and Eigen::bfloat16 to bool
Both, Eigen::half and Eigen::Bfloat16 are implicitly convertible to
float and can hence be converted to bool via the conversion chain
Eigen::{half,bfloat16} -> float -> bool
We thus remove the explicit cast operator to bool.
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.