From 06305e665983437ab5d5508899dbeadd3ae40d9e Mon Sep 17 00:00:00 2001 From: James Eapen Date: Sat, 6 Jul 2024 14:31:57 -0400 Subject: [PATCH] style(code formatting): make short multi-line func declaration single line --- src/region_map.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/region_map.cpp b/src/region_map.cpp index 792bbe7..fd0fdcc 100644 --- a/src/region_map.cpp +++ b/src/region_map.cpp @@ -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; @@ -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();