-
Notifications
You must be signed in to change notification settings - Fork 6
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
Fix NaN's #27
Fix NaN's #27
Conversation
marvinfriede
commented
Jul 25, 2023
- rename typing to _typing (to avoid shadowed imports)
- fix triples mask (now masks out everything with at least two identical indices)
- add more masks to avoid NaN's for single precision (caused by exponentiation of already large numbers)
Codecov Report
@@ Coverage Diff @@
## main #27 +/- ##
==========================================
+ Coverage 98.58% 98.61% +0.03%
==========================================
Files 18 18
Lines 354 362 +8
Branches 41 42 +1
==========================================
+ Hits 349 357 +8
Misses 4 4
Partials 1 1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
check_backward_ad: bool = True, | ||
fast_mode: bool = False, | ||
) -> bool: | ||
... |
Check notice
Code scanning / CodeQL
Statement has no effect
check_rev_over_rev: bool = True, | ||
fast_mode: bool = False, | ||
) -> bool: | ||
... |
Check notice
Code scanning / CodeQL
Statement has no effect
Reverts #138 - breaks tests due to adding the extra sample to the whole sample list - problem stems from external dependency `tad_dftd3` and is fixed in dftd3/tad-dftd3#27 - fixed with `tad_dftd3` 0.1.4 (pinned)