diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-03-21 21:05:56 +0000 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2017-03-21 21:05:56 +0000 |
commit | 0ea21d1092c9154d72d50b04ba2c8025704c679f (patch) | |
tree | 268a3c3fdcec56f41c213a8dc0e96158402ba93a /numpy/lib/tests/test_polynomial.py | |
parent | ef6559dd63af3f6140c2011d3c02b4628c6fa766 (diff) | |
download | numpy-0ea21d1092c9154d72d50b04ba2c8025704c679f.tar.gz |
BUG: Prevent modification of coefficients
`poly.coeffs = 1` has always failed with a strong exception guarantee.
However, `poly.coeffs += 1` would both change the state and fail.
Now both fail without affecting the value.
Diffstat (limited to 'numpy/lib/tests/test_polynomial.py')
0 files changed, 0 insertions, 0 deletions