Skip to content

Fix #33#34

Merged
PFLeget merged 1 commit intomasterfrom
dev/leget/issues33
Feb 5, 2026
Merged

Fix #33#34
PFLeget merged 1 commit intomasterfrom
dev/leget/issues33

Conversation

@PFLeget
Copy link
Copy Markdown
Owner

@PFLeget PFLeget commented Feb 4, 2026

This is the work around the issue describe in #33. The update to numpy 2.4 look to break iminuit but I found the work around (1 line of code). I was giving an array as an input but looks to be better with just a float.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.42%. Comparing base (d07af6a) to head (107201d).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #34   +/-   ##
=======================================
  Coverage   87.42%   87.42%           
=======================================
  Files           8        8           
  Lines         803      803           
=======================================
  Hits          702      702           
  Misses        101      101           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@PFLeget PFLeget merged commit d05a318 into master Feb 5, 2026
7 checks passed
@PFLeget PFLeget deleted the dev/leget/issues33 branch February 6, 2026 15:30
)

return self.chi2_value
return self.chi2_value[0]
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This will have problems when chi2_value == np.inf.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

You are correct. Let me fix that.

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.

2 participants