Skip to content

Wrong calculation in weight if more than 2 radars #142

Description

@BenNgHKO

A syntax problem was found in these parts of _get_dd_wind_field_scipy() and _get_dd_wind_field_tensorflow().

This line "cur_array = parameters.weights[i, k]", cur_array and parameters.weights[i, k] point to the same memory address.
parameters.weights[i, k] has changed when editing cur_array, that will only consider the last result of the loop.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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