diff options
author | Cameron Blocker <cameronjblocker@gmail.com> | 2020-10-25 14:43:51 -0400 |
---|---|---|
committer | Cameron Blocker <cameronjblocker@gmail.com> | 2020-10-25 14:43:51 -0400 |
commit | 046a327f0bd452e53a4c65117e23d4e343fed233 (patch) | |
tree | c4856b3c4ef92930e064d3a6c07807ea481c62f6 | |
parent | f7eed258a49edc9d6a3c2500e8f09ba48f4a8e4b (diff) | |
download | numpy-046a327f0bd452e53a4c65117e23d4e343fed233.tar.gz |
DOC: Added compatibility release note for dtype of all-zero poly1d
-rw-r--r-- | doc/release/upcoming_changes/17577.compatibility.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/17577.compatibility.rst b/doc/release/upcoming_changes/17577.compatibility.rst new file mode 100644 index 000000000..d08805607 --- /dev/null +++ b/doc/release/upcoming_changes/17577.compatibility.rst @@ -0,0 +1,6 @@ +poly1d respects the dtype of all-zero argument +---------------------------------------------- +Previously, constructing an instance of ``poly1d`` with all-zero +coefficients would cast the coefficients to ``np.float64``. +This affected the output dtype of methods which construct +``poly1d`` instances internally, such as ``np.polymul``.
\ No newline at end of file |