Skip to content

Commit

Permalink
Version 4.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pbreheny committed Mar 3, 2025
1 parent c23e3b8 commit 17afda2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"schemaVersion": 1,
"label": "GitHub",
"message": "4.2.0",
"message": "4.2.1",
"color": "blue"
}
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: plmmr
Title: Penalized Linear Mixed Models for Correlated Data
Version: 4.2.0
Date: 2025-02-18
Version: 4.2.1
Date: 2025-03-03
Authors@R: c(
person("Tabitha K.", "Peter", , "[email protected]", role = "aut",
comment = c(ORCID = "0009-0005-2524-4751")),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# plmmr 4.2.1

- **Internal:** Fixed LTO type mismatch bug.

# plmmr 4.2.0

- **Bug in BLUP**: We caught a mathematical error in our earlier implementation of best linear unbiased prediction. The issue had to do with an inconsistency in the scaling among the terms used in constructing this predictor. This issue impacted prediction within cross-validation as well as the `predict()` method for our `plmm` class.
Expand Down
9 changes: 6 additions & 3 deletions src/plmm_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
extern SEXP big_sd(SEXP X_, SEXP ncore_);

// standardize a matrix of filebacked data
extern SEXP big_std(SEXP X_, SEXP ncore_);
extern SEXP big_std(SEXP X_,
SEXP ncore_,
SEXP center_,
SEXP scale_);

// standardize a matrix of in-memory data
extern SEXP in_mem_std(SEXP X_);
Expand All @@ -21,8 +24,8 @@ extern SEXP big_crossprod(SEXP X_,
SEXP ncore_);

static const R_CallMethodDef callMethods[] = {
{"big_crossprod", (DL_FUNC) &big_crossprod, 4},
{"big_std", (DL_FUNC) &big_std, 2},
{"big_crossprod", (DL_FUNC) &big_crossprod, 3},
{"big_std", (DL_FUNC) &big_std, 4},
{"big_sd", (DL_FUNC) &big_sd, 2},
{"in_mem_std", (DL_FUNC) &in_mem_std, 1},
{NULL, NULL, 0}
Expand Down

0 comments on commit 17afda2

Please sign in to comment.