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

Skip to content

Conversation

@santisoler
Copy link
Member

Summary

Avoid using dpred in the gravity test that might lead to confusion. When the mapping is not a linear function, the J @ m is just a first order approximation of the forward model and not equal to the dpred.

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

What does this implement/fix?

Additional information

Avoid using `dpred` in the gravity test that might lead to confusion.
When the mapping is not a linear function, the `J @ m` is just a first
order approximation of the forward model and not equal to the `dpred`.
@codecov
Copy link

codecov bot commented Apr 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.59%. Comparing base (b1804b8) to head (1623dd8).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1641      +/-   ##
==========================================
- Coverage   86.59%   86.59%   -0.01%     
==========================================
  Files         409      409              
  Lines       53189    53189              
  Branches     5028     5028              
==========================================
- Hits        46059    46058       -1     
- Misses       5715     5716       +1     
  Partials     1415     1415              

☔ 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.

@santisoler santisoler merged commit 46fd664 into main Apr 14, 2025
22 checks passed
@santisoler santisoler deleted the variable-names-gravity-test branch April 14, 2025 19:23
johnweis0480 pushed a commit to johnweis0480/simpeg_johnweis that referenced this pull request Jun 9, 2025
Avoid using `dpred` in the gravity test that might lead to confusion.
When the mapping is not a linear function, the `J @ m` is just a first
order approximation of the forward model and not equal to the `dpred`.
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