Skip to content

BactrianUpDownOperator modifies the wrong index when elementWise is true #1126

@bjoelle

Description

@bjoelle

l95 and l105 have this code p.setValue(p.getValue(index) * scale); which as far as I can tell will modify the value at position 0 regardless of what index is set to
the equivalent code in UpDown operator is p.setValue(index, p.getValue(index) * scale); as expected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions