Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make getindex on MetricProblem return a MetricProblem #14

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

mhauru
Copy link
Contributor

@mhauru mhauru commented Oct 18, 2024

It was previously returning a Problem. After a conversation with @pwochner, concluded that it should return a MetricProblem instead. I assumed the return value should have the same cost_function.

Care should be taken when merging with #13. One of the tests will clash and will need changing.

@ReubenJ
Copy link
Member

ReubenJ commented Oct 23, 2024

@mhauru would you mind syncing your fork's master branch and rebasing this PR on it?

@mhauru mhauru force-pushed the mhauru/fix-getindex-metricproblem branch from cac6251 to 0ab8b4b Compare October 23, 2024 17:13
@mhauru
Copy link
Contributor Author

mhauru commented Oct 23, 2024

Done

Copy link

codecov bot commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (4073698) to head (0ab8b4b).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #14   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           14        14           
=========================================
  Hits            14        14           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ReubenJ ReubenJ self-requested a review October 29, 2024 09:36
Copy link
Member

@ReubenJ ReubenJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@ReubenJ ReubenJ merged commit f1e4a30 into Herb-AI:master Oct 29, 2024
5 checks passed
@ReubenJ ReubenJ linked an issue Nov 14, 2024 that may be closed by this pull request
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.

Improve test coverage
2 participants