MeasureTransport / MeasureTransport/MParT

Issue matlab bindings when number of points is 1

Open
#225 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

matlab
Dominant language
C++
Stars
18
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Several functions return 0 when the number of input points is 1. Examples:

S.Inverse(randn(d,1),randn(d,1))
S.LogDeterminant(randn(d,1))

will return 0

Might be an error of MexToKokkos for that case

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the singleton-point cases with S.Inverse and S.LogDeterminant using the examples in the issue. Start by tracing the MATLAB binding conversion through MexToKokkos, then compare behavior for one point with larger inputs. Done means the affected functions return the correct nonzero result for a single input point and existing cases remain working.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, matlab
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.