summaryrefslogtreecommitdiff
path: root/numpy/array_api/_creation_functions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-05-31 12:57:17 -0700
committerSebastian Berg <sebastian@sipsolutions.net>2022-06-15 11:42:02 -0700
commit0bc84203f03eb971a612d9f6c7194ced80291b8a (patch)
tree2d13068a44d9f58ac05858ad114acc197c16a8e1 /numpy/array_api/_creation_functions.py
parentb148b0f3c38e8d6ef5b714fb5bdd2fad09e7eb10 (diff)
downloadnumpy-0bc84203f03eb971a612d9f6c7194ced80291b8a.tar.gz
MAINT: Ignore warning rather than forcing output dtype
Forcing the output dtype does not work here, since it actually can be integral (not that this is usually a good idea). In practice, the change we are doing here is forcing 64bit (or 32bit depending on platform) of precision for the calculation. This means that the change will only ever increase precision mildly compared to the current situation.
Diffstat (limited to 'numpy/array_api/_creation_functions.py')
0 files changed, 0 insertions, 0 deletions