Antonio Sanchez
22f67b5958
Fix boolean float conversion and product warnings.
...
This fixes some gcc warnings such as:
```
Eigen/src/Core/GenericPacketMath.h:655:63: warning: implicit conversion turns floating-point number into bool: 'typename __gnu_cxx::__enable_if<__is_integer<bool>::__value, double>::__type' (aka 'double') to 'bool' [-Wimplicit-conversion-floating-point-to-bool]
Packet psqrt(const Packet& a) { EIGEN_USING_STD(sqrt); return sqrt(a); }
```
Details:
- Added `scalar_sqrt_op<bool>` (`-Wimplicit-conversion-floating-point-to-bool`).
- Added `scalar_square_op<bool>` and `scalar_cube_op<bool>`
specializations (`-Wint-in-bool-context`)
- Deprecated above specialized ops for bool.
- Modified `cxx11_tensor_block_eval` to specialize generator for
booleans (`-Wint-in-bool-context`) and to use `abs` instead of `square` to
avoid deprecated bool ops.
2020-11-24 20:20:36 +00:00
..
2020-03-23 18:09:02 +00:00
2019-12-06 21:07:39 +01:00
2018-07-17 14:46:15 +02:00
2019-11-14 14:58:08 +01:00
2019-09-16 19:33:29 -04:00
2018-07-17 14:46:15 +02:00
2020-11-12 16:15:40 -08:00
2019-05-08 10:16:46 -07:00
2018-09-14 20:21:56 +02:00
2018-07-17 14:46:15 +02:00
2018-09-17 18:29:12 -07:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:16:48 -04:00
2020-06-05 20:51:20 +00:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2019-12-18 20:07:00 +00:00
2020-11-24 20:20:36 +00:00
2020-04-28 16:12:47 +00:00
2018-07-17 14:46:15 +02:00
2019-09-24 12:52:45 -07:00
2019-11-28 10:08:54 +00:00
2018-07-17 14:16:48 -04:00
2020-06-30 18:53:55 +00:00
2019-11-28 10:08:54 +00:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2020-05-28 17:40:15 +00:00
2018-07-25 13:51:10 -07:00
2018-07-17 14:46:15 +02:00
2018-09-18 04:15:01 -04:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:16:48 -04:00
2019-11-28 10:08:54 +00:00
2020-04-28 16:12:47 +00:00
2018-07-17 14:46:15 +02:00
2018-09-13 17:04:05 -07:00
2018-07-17 14:46:15 +02:00
2019-11-28 10:08:54 +00:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:16:48 -04:00
2018-09-18 10:57:00 -07:00
2018-07-17 14:46:15 +02:00
2019-11-12 10:12:28 -08:00
2020-10-14 22:59:51 +00:00
2020-05-28 17:40:15 +00:00
2018-07-17 14:46:15 +02:00
2019-11-28 10:08:54 +00:00
2019-03-05 11:19:25 -08:00
2018-07-17 14:46:15 +02:00
2019-03-05 16:35:21 -08:00
2019-09-16 19:33:29 -04:00
2018-07-17 14:46:15 +02:00
2019-11-28 10:08:54 +00:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2018-09-17 10:58:07 -07:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2019-09-03 11:38:39 -07:00
2019-11-28 10:08:54 +00:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2019-11-28 10:08:54 +00:00
2020-06-11 17:26:56 +00:00
2018-02-07 19:10:54 +01:00
2019-11-08 17:44:50 -08:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2020-05-28 17:40:15 +00:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:16:48 -04:00
2019-11-28 10:08:54 +00:00
2020-11-18 20:32:35 +00:00
2018-07-17 14:16:48 -04:00
2019-11-28 10:08:54 +00:00
2020-07-22 00:35:51 +00:00
2018-07-17 14:46:15 +02:00
2019-11-28 10:08:54 +00:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:16:48 -04:00
2019-11-28 10:08:54 +00:00
2018-07-17 14:46:15 +02:00
2019-11-28 10:08:54 +00:00
2018-09-20 17:03:42 +02:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2019-11-28 10:08:54 +00:00
2018-07-17 14:46:15 +02:00
2019-09-10 16:13:32 -07:00
2019-09-19 13:54:49 -07:00
2020-03-23 18:09:02 +00:00
2020-05-28 17:40:15 +00:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2018-08-28 18:32:39 +02:00
2019-05-10 14:57:05 +02:00
2010-02-16 21:41:04 -05:00
2019-10-09 16:00:57 +02:00
2018-08-28 18:32:39 +02:00
2018-07-17 14:46:15 +02:00
2018-08-14 14:08:36 -07:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2019-12-20 18:10:22 +01:00
2016-05-22 18:17:04 +02:00
2018-11-20 16:23:28 +01:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2018-07-17 14:46:15 +02:00
2018-10-15 10:23:32 +02:00
2018-08-28 18:32:39 +02:00
2020-11-11 15:54:43 -08:00
2018-12-09 22:54:39 +01:00
2018-07-17 14:46:15 +02:00
2020-11-18 23:15:33 +00:00
2020-01-14 21:32:48 +00:00
2020-01-11 10:31:21 +00:00
2018-07-17 14:46:15 +02:00