Skip to content

Commit

Permalink
Merge pull request #33 from paulsengroup/fix/trans-only
Browse files Browse the repository at this point in the history
Fix bug when processing trans-only interactions
  • Loading branch information
robomics authored Jul 7, 2024
2 parents bc29ebf + c4d6ffb commit 11e724c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libnchg/expected_values_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ template <typename File>
inline ExpectedValues<File> ExpectedValues<File>::trans_only(
std::shared_ptr<const File> file, const Params &params_,
const phmap::flat_hash_map<hictk::Chromosome, std::vector<bool>> &bin_mask) {
ExpectedValues ev(nullptr, {params_.mad_max, 0, 0, 0, 0, false, 0, 0});
ExpectedValues ev(
nullptr, {params_.mad_max, 0, std::numeric_limits<std::uint64_t>::max(), 0, 0, false, 0, 0});
ev._fp = std::move(file);
ev._resolution = ev._fp->resolution();
if (ev._fp) {
Expand Down

0 comments on commit 11e724c

Please sign in to comment.