Skip to content

cppDE 0.13.16 - #1

Merged
simonbeyer1 merged 1 commit into
masterfrom
release-0.13.16
Nov 25, 2026
Merged

simonbeyer1 merged 1 commit into
masterfrom
release-0.13.16

Conversation

@simonbeyer1

Copy link
Copy Markdown
Member

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) at x = -Inf had 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.
  • New tests in test-dual2nd-primitives.R for 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 -Inf under exp10().

See NEWS.md.

…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>
@simonbeyer1
simonbeyer1 merged commit 59008f8 into master Nov 25, 2026
7 checks passed
@simonbeyer1

Copy link
Copy Markdown
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.

@simonbeyer1
simonbeyer1 deleted the release-0.13.16 branch November 25, 2026 13:19
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.

1 participant