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

Relax positional tolerance to reduce error occurrences in CylinderSegment special cases #651

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

fslanovc
Copy link
Contributor

@fslanovc fslanovc commented Aug 9, 2023

Lower tolerance leads to less errors in the special case treatment

Lower tolerance leads to less errors in the special case treatment
@Alexboiboi Alexboiboi added this to the 4.4 milestone Aug 9, 2023
@codecov
Copy link

codecov bot commented Aug 9, 2023

Codecov Report

Merging #651 (3db33db) into main (5fd6d25) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #651   +/-   ##
=======================================
  Coverage   99.20%   99.20%           
=======================================
  Files          55       55           
  Lines        7000     7000           
=======================================
  Hits         6944     6944           
  Misses         56       56           
Files Changed Coverage Δ
magpylib/_src/fields/field_BH_cylinder_segment.py 100.00% <100.00%> (ø)

Copy link
Member

@Alexboiboi Alexboiboi left a comment

Choose a reason for hiding this comment

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

looks good

@Alexboiboi Alexboiboi merged commit 1141d9f into main Aug 9, 2023
12 checks passed
@Alexboiboi Alexboiboi deleted the cylinder_segement_case_issue branch August 9, 2023 17:06
@Alexboiboi Alexboiboi changed the title Update field_BH_cylinder_segment.py Relax positional tolerance to reduce error occurrences in CylinderSegment special cases Aug 17, 2023
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.

Numerical instability of cylinder_segment
2 participants