Skip to content

Commit

Permalink
version 1.9.13
Browse files Browse the repository at this point in the history
  • Loading branch information
kaskr authored and cran-robot committed Jun 29, 2024
1 parent 9616ab4 commit 1090c6f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Package: TMB
Type: Package
Title: Template Model Builder: A General Random Effect Tool Inspired by
'ADMB'
Version: 1.9.12
Date: 2024-06-19
Version: 1.9.13
Date: 2024-06-28
Authors@R: c(person("Kasper","Kristensen",role=c("aut","cre","cph"),email="kaskr@dtu.dk"),
person("Brad","Bell",role="cph"),
person("Hans","Skaug",role="ctb"),
Expand Down Expand Up @@ -46,6 +46,6 @@ LinkingTo: Matrix, RcppEigen
Suggests: numDeriv, parallel
RoxygenNote: 7.2.3
NeedsCompilation: yes
Packaged: 2024-06-19 21:44:27 UTC; kaskr
Packaged: 2024-06-28 12:11:34 UTC; kaskr
Repository: CRAN
Date/Publication: 2024-06-19 23:20:02 UTC
Date/Publication: 2024-06-28 14:10:08 UTC
6 changes: 3 additions & 3 deletions MD5
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
05d8ea299c5002ae1bff483fea8e7917 *DESCRIPTION
de4940a291f90e942b493658d99f634d *DESCRIPTION
b9d03d6f35333b54381881701b594645 *NAMESPACE
8354e2c42cb7c24fcc73791d4defe33a *NEWS
f31f9f5425f17f7f42c7d1b4268fa6fb *NEWS
f1c4a54a9212313eb4ff384ab4b245a8 *R/TMB.R
95ecf54795d9cef881726f2b39afb8bd *R/abi_table.R
0a8a19e6bc5dd48d053735256258e36a *R/benchmark.R
Expand Down Expand Up @@ -377,4 +377,4 @@ c29b28480a5bee583f9900da5d0adbbf *src/Makevars
412ff0f60a76105f734d3ac9445dd1cf *src/init.c
befc9fe6d7fd47dbd1e1964357f17a0b *src/local_stubs.c
1a17f5100f394fe70f0b939d535346b5 *src/solve_subset.c
49030ef72eb1395af7c71a40d1d256d9 *src/utils.c
b9f4aef376157c295074e9a9e0b514f2 *src/utils.c
6 changes: 6 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
------------------------------------------------------------------------
TMB 1.9.13 (2024-06-28)
------------------------------------------------------------------------

o Fix isNullPointer #395

------------------------------------------------------------------------
TMB 1.9.12 (2024-06-19)
------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ SEXP setxslot(SEXP x, SEXP y){

/* Is external pointer nil ? */
SEXP isNullPointer(SEXP pointer) {
return ScalarLogical(!R_ExternalPtrAddr(pointer));
return ScalarLogical(TYPEOF(pointer) == EXTPTRSXP && !R_ExternalPtrAddr(pointer));
}

0 comments on commit 1090c6f

Please sign in to comment.