Repository navigation
cppDE 0.13.16 - #1
Merged
Merged
Conversation
…e finite derivatives where the other operand is infinite, exp10() at -Inf included; cppDE 0.13.16 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
Author
|
Merged by fast-forward as 59008f8 after all 7 checks passed (Ubuntu oldrel-1, release and devel, macOS, Windows, Fedora). Tagged v0.13.16. dMod2 0.17.1 (dModverse/dMod2#38) requires this version; its checks run again now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cppDE 0.13.16.
In the expression templates of the first- and second-order duals, a product with a constant and a quotient by a constant now take the derivative of the other operand times (or divided by) the constant, instead of the general product and quotient rules. The general rules add a term
0 * value, which is NaN where the other operand is infinite:exp10(x)atx = -Infhad derivatives NaN, now 0.cppde_dual_expr.hpp,cppde_dual2nd_expr.hpp: the case of a scalar leaf, decided at compile time; all other cases unchanged.test-dual2nd-primitives.Rfor first and second derivatives at-Inf.dMod2 0.17.1 (next pull request) requires this version for spike-and-slab random effects with a spike at
-Infunderexp10().See NEWS.md.