Skip to content

Accept array-like covariance inputs in Filter - #414

Open
sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:mainfrom
sylvesterkaczmarek:fix/filter-covariance-arraylike
Open

sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:mainfrom
sylvesterkaczmarek:fix/filter-covariance-arraylike

Conversation

@sylvesterkaczmarek

Copy link
Copy Markdown

Normalize the covariance argument with np.asarray() before flattening it for the protobuf request. Preserve existing NumPy-array handling and the None read-only request.

Validation

  • Nested-list regression failed on main and passed after the change.
  • One focused test passed with three subtests covering nested lists, NumPy arrays and None.
  • Verified outgoing protobuf requests and returned matrix shape using a mocked RPC boundary. The native server integration test was deselected.
  • git diff --check passes.

Fixes #413.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Filter.covariance rejects list-valued covariance matrices

1 participant