Skip to content

Commit

Permalink
serialization fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
peddie committed Aug 6, 2024
1 parent f350f50 commit 5fbada0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/albatross/src/cereal/block_diagonal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace cereal {
template <typename Archive>
inline void serialize(Archive &archive,
const albatross::BlockDiagonalLDLT &ldlt,
const std::uint32_t version) {
const std::uint32_t version __attribute__((unused))) {
archive(cereal::make_nvp("blocks", ldlt.blocks));
}

Expand Down
2 changes: 1 addition & 1 deletion include/albatross/src/cereal/gp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ template <typename Archive, typename GrouperFunction,
inline void
serialize(Archive &archive,
Fit<PICGPFit<GrouperFunction, InducingFeatureType, FeatureType>> &fit,
const std::uint32_t version) {
const std::uint32_t version __attribute__((unused))) {
archive(cereal::make_nvp("train_features", fit.train_features));
archive(cereal::make_nvp("inducing_features", fit.inducing_features));
archive(cereal::make_nvp("train_covariance", fit.train_covariance));
Expand Down

0 comments on commit 5fbada0

Please sign in to comment.