Skip to content

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

Closed

Description

@e-kayrakli

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}

Activity

  1. added
    bug
    on Dec 13, 2024
  2. self-assigned this
    on Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions