Jason Rhinelander
acad05cb13
Fix /= operator under Python 3
...
The Python method for /= was set as `__idiv__`, which should be
`__itruediv__` under Python 3.
This wasn't totally broken in that without it defined, Python constructs
a new object by calling __truediv__. The operator tests, however,
didn't actually test the /= operator: when I added it, I saw an extra
construction, leading to the problem. This commit also includes tests
for the previously untested *= operator, and adds some element-wise
vector multiplication and division operators.
2017-05-21 19:15:25 -04:00
..
2017-02-28 00:27:26 +01:00
2017-04-29 16:35:28 +02:00
2017-03-10 15:42:42 +01:00
2017-01-31 17:28:29 +01:00
2017-01-31 17:05:44 +01:00
2017-04-27 09:12:41 -04:00
2016-09-07 01:25:27 +02:00
2017-03-10 15:42:42 +01:00
2016-09-09 03:04:09 -04:00
2016-12-16 15:00:46 +01:00
2017-05-08 01:50:21 +02:00
2017-03-10 15:42:42 +01:00
2017-04-03 00:52:47 +02:00
2017-04-03 00:52:47 +02:00
2017-04-29 10:43:17 -04:00
2017-04-29 10:43:17 -04:00
2017-03-11 23:04:16 -04:00
2017-03-11 23:04:16 -04:00
2016-10-20 16:19:58 +02:00
2016-12-13 00:59:28 +01:00
2016-12-14 20:40:49 +01:00
2016-12-14 20:40:49 +01:00
2016-11-17 11:01:11 +01:00
2016-11-20 21:21:54 +01:00
2017-03-08 12:32:42 -05:00
2017-03-08 12:32:42 -05:00
2017-04-08 23:25:13 -04:00
2017-05-11 16:10:40 +02:00
2017-04-29 16:35:28 +02:00
2017-04-29 16:35:28 +02:00
2016-11-20 21:21:54 +01:00
2017-05-08 20:46:16 +02:00
2016-08-19 16:31:48 +02:00
2017-04-02 22:38:50 +02:00
2017-04-02 22:38:50 +02:00
2017-02-23 15:45:26 +01:00
2017-02-23 15:45:26 +01:00
2017-02-08 08:45:51 +01:00
2016-12-16 15:00:46 +01:00
2017-01-31 17:24:41 +01:00
2017-03-10 15:42:42 +01:00
2017-04-28 11:18:58 -04:00
2017-04-28 11:18:58 -04:00
2016-09-03 17:34:41 -04:00
2017-03-15 15:38:14 +01:00
2017-04-27 09:12:41 -04:00
2017-04-27 09:12:41 -04:00
2017-05-08 01:50:21 +02:00
2017-05-08 01:50:21 +02:00
2017-05-10 11:36:24 +02:00
2017-05-10 11:36:24 +02:00
2017-05-08 01:50:21 +02:00
2017-03-21 18:53:56 -03:00
2016-09-03 17:34:41 -04:00
2017-02-03 20:47:17 -05:00
2017-05-21 19:15:25 -04:00
2017-05-21 19:15:25 -04:00
2017-01-04 15:05:20 +01:00
2016-12-16 15:00:46 +01:00
2017-05-10 17:47:57 +02:00
2017-05-10 17:47:57 +02:00
2017-02-26 23:57:03 +01:00
2017-02-26 23:57:03 +01:00
2017-03-21 10:26:22 +01:00
2017-03-21 10:26:22 +01:00
2017-03-14 02:50:04 +01:00
2017-04-18 14:21:31 -04:00
2017-05-02 15:21:39 -04:00
2016-12-16 15:00:46 +01:00