fix: Change namespace scope.

This commit is contained in:
Vissarion Fisikopoulos 2024-10-31 16:07:15 +02:00
parent a4f52ea95e
commit 2bdfb423b4
2 changed files with 3 additions and 3 deletions

View File

@ -113,8 +113,8 @@ public :
template <typename T, typename Spheroid>
static CT apply(T lat, Spheroid const& spheroid)
{
CT const a = get_radius<0>(spheroid);
CT const f = formula::flattening<CT>(spheroid);
CT const a = geometry::get_radius<0>(spheroid);
CT const f = flattening<CT>(spheroid);
CT n = f / (CT(2) - f);
CT M = a/(1+n);
CT C0 = 1;

View File

@ -98,7 +98,7 @@ public:
CT const radius_a = CT(get_radius<0>(spheroid));
CT const radius_b = CT(get_radius<2>(spheroid));
CT const f = formula::flattening<CT>(spheroid);
CT const f = flattening<CT>(spheroid);
// U: reduced latitude, defined by tan U = (1-f) tan phi
CT const one_min_f = c1 - f;