Closed magicDGS closed 7 years ago
Merging #16 into master will not change coverage. The diff coverage is
100%
.
@@ Coverage Diff @@
## master #16 +/- ##
===========================================
Coverage 95.588% 95.588%
Complexity 31 31
===========================================
Files 3 3
Lines 68 68
Branches 4 4
===========================================
Hits 65 65
Misses 3 3
Impacted Files | Coverage Δ | Complexity Δ | |
---|---|---|---|
...icdgs/popgenlib/diversity/NucleotideDiversity.java | 95.238% <100%> (ø) |
13 <1> (ø) |
:arrow_down: |
Merging #16 into master will not change coverage. The diff coverage is
100%
.
@@ Coverage Diff @@
## master #16 +/- ##
===========================================
Coverage 95.588% 95.588%
Complexity 31 31
===========================================
Files 3 3
Lines 68 68
Branches 4 4
===========================================
Hits 65 65
Misses 3 3
Impacted Files | Coverage Δ | Complexity Δ | |
---|---|---|---|
...icdgs/popgenlib/diversity/NucleotideDiversity.java | 95.238% <100%> (ø) |
13 <1> (ø) |
:arrow_down: |
FastMath.pow is implemented to be efficient for several cases, but it is too much for the use case of a simple square of a variable. This commit change the usage of FastMath.pow(x, 2) to the simpler form x * x.