Skip to content

Commit

Permalink
style(code formatting): make short multi-line func declaration single…
Browse files Browse the repository at this point in the history
… line
  • Loading branch information
jamespeapen committed Jul 17, 2024
1 parent 3753233 commit 06305e6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/region_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ typedef struct {
} ComputedCpG;

// Sum CpGs M values and coverage
ComputedCpG aggregate(
const RegionQuery& interval,
const bool mval
) {
ComputedCpG aggregate(const RegionQuery& interval, const bool mval) {

float total_beta = 0;
float total_cov = 0;
Expand All @@ -36,10 +33,7 @@ ComputedCpG aggregate(
}

// Get mean of betas and coverage
ComputedCpG mean(
const RegionQuery& interval,
const bool mval
) {
ComputedCpG mean(const RegionQuery& interval, const bool mval) {

int n_cpg = interval.cpgs_in_interval.size();

Expand Down

0 comments on commit 06305e6

Please sign in to comment.