Skip to content

Commit

Permalink
Coverage fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluescarni committed Nov 17, 2023
1 parent 58074ce commit 9a0c507
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/model/elp2000.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,11 @@ std::array<expression, 2> pairwise_cmul(std::vector<std::array<expression, 2>> &

} // namespace

// NOTE: don't check for coverage here as in order to hit all branches
// we would need very low threshold level, which is not feasible
// in debug mode.
// LCOV_EXCL_START

// Spherical coordinates, inertial mean ecliptic of date.
// NOLINTNEXTLINE(readability-function-size,hicpp-function-size,google-readability-function-size)
std::vector<expression> elp2000_spherical_impl(const expression &tm, double thresh)
Expand Down Expand Up @@ -1386,6 +1391,8 @@ std::vector<expression> elp2000_spherical_impl(const expression &tm, double thre
return retval;
}

// LCOV_EXCL_STOP

// Cartesian coordinates, inertial mean ecliptic of date.
std::vector<expression> elp2000_cartesian_impl(const expression &tm, double thresh)
{
Expand Down

0 comments on commit 9a0c507

Please sign in to comment.