Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Wrong element copy for 2D array #1503

Copy link
Copy link
@npolina4

Description

@npolina4
Issue body actions
import dpctl.tensor as dpt

x = dpt.asarray([[1, 2, 3], [6, 7, 8]])
y = dpt.asarray([4, 5])

y[1]
#out: usm_ndarray(5, dtype=int32)

x[0] = y[1]

x
#out: usm_ndarray([[4, 4, 4], [6, 7, 8]], dtype=int32)
#expected: usm_ndarray([[5, 5, 5], [6, 7, 8]], dtype=int32)
Reactions are currently unavailable

Metadata

Metadata

Labels

bugSomething isn't workingSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.