From 9231ea692691db2ade748ca551b6d655d8f84776 Mon Sep 17 00:00:00 2001 From: Roberto Rossini <71787608+robomics@users.noreply.github.com> Date: Wed, 27 Sep 2023 20:32:28 +0200 Subject: [PATCH] Fix macos builds --- src/libhictk/balancing/include/hictk/balancing/ice.hpp | 4 ++-- .../balancing/include/hictk/balancing/impl/ice_impl.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libhictk/balancing/include/hictk/balancing/ice.hpp b/src/libhictk/balancing/include/hictk/balancing/ice.hpp index ce492da6a..fdae19dc2 100644 --- a/src/libhictk/balancing/include/hictk/balancing/ice.hpp +++ b/src/libhictk/balancing/include/hictk/balancing/ice.hpp @@ -145,12 +145,12 @@ class ICE { template static void initialize_biases(const MatrixT& matrix, nonstd::span biases, - nonstd::span chrom_bin_offsets, + nonstd::span chrom_bin_offsets, std::size_t min_nnz, std::size_t min_count, double mad_max, BS::thread_pool* tpool); [[nodiscard]] static std::vector compute_weights_from_chromosome_sizes( - const BinTable& bins, nonstd::span chrom_bin_offsets); + const BinTable& bins, nonstd::span chrom_bin_offsets); }; } // namespace hictk::balancing diff --git a/src/libhictk/balancing/include/hictk/balancing/impl/ice_impl.hpp b/src/libhictk/balancing/include/hictk/balancing/impl/ice_impl.hpp index db036cb40..3e384cb98 100644 --- a/src/libhictk/balancing/include/hictk/balancing/impl/ice_impl.hpp +++ b/src/libhictk/balancing/include/hictk/balancing/impl/ice_impl.hpp @@ -601,7 +601,7 @@ inline double ICE::compute_ssq_nzmarg(nonstd::span marg, double av template inline void ICE::initialize_biases(const MatrixT& matrix, nonstd::span biases, - nonstd::span chrom_bin_offsets, + nonstd::span chrom_bin_offsets, std::size_t min_nnz, std::size_t min_count, double mad_max, BS::thread_pool* tpool) { if (min_nnz == 0 && min_count == 0 && mad_max == 0) { @@ -631,7 +631,7 @@ inline void ICE::initialize_biases(const MatrixT& matrix, nonstd::span b } inline std::vector ICE::compute_weights_from_chromosome_sizes( - const BinTable& bins, nonstd::span chrom_bin_offsets) { + const BinTable& bins, nonstd::span chrom_bin_offsets) { std::vector weights(bins.size()); for (std::uint32_t i = 1; i < chrom_bin_offsets.size(); ++i) { const auto& chrom = bins.chromosomes().at(i - 1);