diff options
author | Alexander Heger <2sn@users.noreply.github.com> | 2023-02-12 00:26:42 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-11 14:26:42 +0100 |
commit | 8daec0ecf11f9d2633d133f2d2b7d6c39f157f4b (patch) | |
tree | 82cbd956320149c1b68348b9eb9767ac48923d36 /numpy/array_api/_array_object.py | |
parent | 6dadb8c40451e934075904f6acdfe341d3b8762e (diff) | |
download | numpy-8daec0ecf11f9d2633d133f2d2b7d6c39f157f4b.tar.gz |
BUG: fix for f2py string scalars (#23194)
in previous version, any string scalar was converted to a string array of dimension len, i.e., a definition
character(len=N) :: X
effectively became
character(len=NNN), dimension(NNN) :: X
from the point of few of the numpy (python) interface:
X.shape == (NNN,)
X.dtype == '|SNNN'
Closes gh-23192
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions