Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@santisoler
Copy link
Member

@santisoler santisoler commented Sep 9, 2024

Summary

Remove unneeded if statement, since the reg objects at that point are only Sparse due to previous check. Update comments to reflect better what the code does. Add tests to check if irls_threshold is correctly updated.

PR Checklist

  • If this is a work in progress PR, set as a Draft PR
  • Linted my code according to the style guides.
  • Added tests to verify changes to the code.
  • Added necessary documentation to any new functions/classes following the
    expect style.
  • Marked as ready for review (if this is was a draft PR), and converted
    to a Pull Request
  • Tagged @simpeg/simpeg-developers when ready for review.

Reference issue

Minor improvements to changes made in #1349

What does this implement/fix?

Additional information

The `reg` objects at this point are only `Sparse` due to previous check.
@codecov
Copy link

codecov bot commented Sep 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.08%. Comparing base (4ca99a7) to head (6c5a5b6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1529      +/-   ##
==========================================
+ Coverage   86.06%   86.08%   +0.01%     
==========================================
  Files         397      397              
  Lines       51018    51052      +34     
  Branches     5684     5684              
==========================================
+ Hits        43911    43949      +38     
+ Misses       5671     5670       -1     
+ Partials     1436     1433       -3     

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

@santisoler santisoler marked this pull request as ready for review September 9, 2024 18:34
@santisoler santisoler merged commit 9a07f0a into main Oct 8, 2024
@santisoler santisoler deleted the irls-comments branch October 8, 2024 16:03
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