-
Notifications
You must be signed in to change notification settings - Fork 6
Fitting Module Improvements (Documentation mostly) #155
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
base: dev
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #155 +/- ##
==========================================
+ Coverage 91.87% 91.88% +0.01%
==========================================
Files 62 61 -1
Lines 6016 5988 -28
Branches 388 388
==========================================
- Hits 5527 5502 -25
+ Misses 407 404 -3
Partials 82 82 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
) | ||
|
||
if np.isnan(error_i): | ||
if np.isnan(error_i) or np.isinf(error_i): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the:
or np.isinf(error_i)
To make the PT and LL specifications usable. Later, we can change that behaviour.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flame
|
||
dt = np.empty(1, order="F") if dt else None | ||
dt2 = np.empty(1, order="F") if dt2 else None | ||
dt = np.array(0, dtype=np.float64) if dt else None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change in scalar derivatives of thermoprops (dt, dt2, dp, dv) prevents the annoying numpy deprecation warning
Changes expected (add more if desired)
New objectives: