Skip to content

Commit

Permalink
Fix order
Browse files Browse the repository at this point in the history
  • Loading branch information
riclarsson committed Jan 2, 2025
1 parent 9e8629c commit bed8d66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/path/path_point.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ std::pair<Vector3, Vector2> ecef2geodetic_poslos(
} // namespace

namespace {
constexpr std::pair<Vector3, Vector2> poslos_at_distance(
std::pair<Vector3, Vector2> poslos_at_distance(
const Vector3 ecef,
const Vector3 decef,
const Vector2 ell,
Expand Down
4 changes: 2 additions & 2 deletions src/partfun/make_auto_partfuns.cc
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ Numeric d{0}(Numeric T) noexcept;
compute += std::format(
R"(
if (isot == std::get<{0}>(has{1})) {{
if constexpr (deriv == Yes) return {2}(T);
if constexpr (deriv == No) return d{2}(T);
if constexpr (deriv == No) return {2}(T);
if constexpr (deriv == Yes) return d{2}(T);
}}
)",
i,
Expand Down

0 comments on commit bed8d66

Please sign in to comment.