Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdarray.reshape with a scalar argument doesn't work #3943

Closed
e-kayrakli opened this issue Dec 13, 2024 · 0 comments · Fixed by #3947
Closed

pdarray.reshape with a scalar argument doesn't work #3943

e-kayrakli opened this issue Dec 13, 2024 · 0 comments · Fixed by #3947
Assignees
Labels
bug Something isn't working

Comments

@e-kayrakli
Copy link
Contributor

Describe the bug
pdarray.reshape with a scalar argument doesn't work

To Reproduce

>>> a3darr.reshape(1000)
...
RuntimeError: Unrecognized command: reshape<float64,3,1000>
>>> arr.reshape((1000,))
array([0.00000000000000000 0.00000000000000000 0.00000000000000000 ... 0.00000000000000000 0.00000000000000000 0.00000000000000000])

Expected behavior
We either adjust documentation, or fix the underlying issue.

Is this a Blocking Issue
No, workaround is easy enough.

ak.get_config() Output

In [5]: ak.get_config()
Out[5]:
{'arkoudaVersion': 'v2023.01.11+792.ga4f8c5ae.dirty',
 'chplVersion': '2.4.0 (2dc533360e)',
 'ZMQVersion': '4.3.4',
 'HDF5Version': '1.12.1',
 'serverHostname': 'dev',
 'ServerPort': 5555,
 'numLocales': 1,
 'numPUs': 6,
 'maxTaskPar': 6,
 'physicalMemory': 16517623808,
 'distributionType': 'domain(unmanaged DefaultRectangularDom(1,int(64),one))',
 'LocaleConfigs': [{'id': 0,
   'name': 'dev',
   'numPUs': 6,
   'maxTaskPar': 6,
   'physicalMemory': 16517623808}],
 'authenticate': False,
 'logLevel': 'INFO',
 'logChannel': 'CONSOLE',
 'regexMaxCaptures': 20,
 'byteorder': 'little',
 'autoShutdown': False,
 'serverInfoNoSplash': False,
 'maxArrayDims': 3}
@e-kayrakli e-kayrakli added the bug Something isn't working label Dec 13, 2024
@drculhane drculhane self-assigned this Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants