summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCameron Blocker <cameronjblocker@gmail.com>2020-10-25 14:43:51 -0400
committerCameron Blocker <cameronjblocker@gmail.com>2020-10-25 14:43:51 -0400
commit046a327f0bd452e53a4c65117e23d4e343fed233 (patch)
treec4856b3c4ef92930e064d3a6c07807ea481c62f6
parentf7eed258a49edc9d6a3c2500e8f09ba48f4a8e4b (diff)
downloadnumpy-046a327f0bd452e53a4c65117e23d4e343fed233.tar.gz
DOC: Added compatibility release note for dtype of all-zero poly1d
-rw-r--r--doc/release/upcoming_changes/17577.compatibility.rst6
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