Skip to content

Commit

Permalink
fixed two things
Browse files Browse the repository at this point in the history
  • Loading branch information
wlanghans committed May 6, 2024
1 parent a4e02e5 commit 201fe96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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 syd::uint32_t ) {
const std::uint32_t ) {
archive(cereal::make_nvp("blocks", ldlt.blocks));
}

Expand Down
4 changes: 2 additions & 2 deletions include/albatross/src/models/pic_gp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -740,8 +740,8 @@ class PICGaussianProcessRegression
std::vector<std::size_t> feature_to_block;
for (Eigen::Index j = 0; j < cast::to_index(features.size()); ++j) {
const auto group = find_group(features[cast::to_size(j)]);
feature_to_block.push_back(
std::distance(sparse_gp_fit.measurement_groups.begin(), group));
feature_to_block.push_back(cast::to_size(
std::distance(sparse_gp_fit.measurement_groups.begin(), group)));
const std::vector<FeatureType> fvec = {features[cast::to_size(j)]};

const Eigen::VectorXd features_cov =
Expand Down

0 comments on commit 201fe96

Please sign in to comment.