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

Fix put when using scalars #3328

Merged
merged 2 commits into from May 12, 2020
Merged

Fix put when using scalars #3328

merged 2 commits into from May 12, 2020

Conversation

emcastillo
Copy link
Member

@emcastillo emcastillo commented May 11, 2020

Closes #3325

When using scalars calling put,
ndarray is called, but ndarray takes the shape as parameter instead of the actual data,
creating incorrect arrays.

@emcastillo emcastillo changed the title [WIP] Fix put when using scalars Fix put when using scalars May 11, 2020
@takagi takagi added cat:bug Bugs to-be-backported Pull-requests to be backported to stable branch labels May 12, 2020
@takagi takagi added this to the v8.0.0b3 milestone May 12, 2020
@takagi
Copy link
Member

takagi commented May 12, 2020

LGTM!

@takagi
Copy link
Member

takagi commented May 12, 2020

pfnCI, test this please.

@pfn-ci-bot
Copy link
Collaborator

Successfully created a job for commit 1ea729b:

@chainer-ci
Copy link
Member

Jenkins CI test (for commit 1ea729b, target branch master) succeeded!

@takagi takagi merged commit 76c6dac into cupy:master May 12, 2020
@emcastillo emcastillo deleted the fix-put branch May 12, 2020 06:40
takagi added a commit to takagi/cupy that referenced this pull request May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:bug Bugs to-be-backported Pull-requests to be backported to stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cupy.put behaves differently than numpy.put
4 participants