Skip to content

Memory reference bug #126

@mhubii

Description

@mhubii

The tensor generating function generate_ht_optical:

ht_optical[..., 0, 2] = (

Causes ambiguous memory access:

roboreg/util/transform.py", line 68, in generate_ht_optical
    ht_optical[..., 0, 2] = (
    ~~~~~~~~~~^^^^^^^^^^^
RuntimeError: unsupported operation: more than one element of the written-to tensor refers to a single memory location. Please clone() the tensor before performing the operation.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions