Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 14c4e5534aab
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 14ee57622a10
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Dec 7, 2019

  1. Fix a postsubmit error.

    pleroy committed Dec 7, 2019
    Copy the full SHA
    e51580a View commit details
  2. Merge pull request #2396 from pleroy/Postsubmit

    Fix a postsubmit error
    pleroy authored Dec 7, 2019
    Copy the full SHA
    14ee576 View commit details
Showing with 7 additions and 7 deletions.
  1. +7 −7 geometry/permutation_body.hpp
14 changes: 7 additions & 7 deletions geometry/permutation_body.hpp
Original file line number Diff line number Diff line change
@@ -201,13 +201,13 @@ template<typename FromFrame, typename ToFrame>
std::ostream& operator<<(std::ostream& out,
Permutation<FromFrame, ToFrame> const& permutation) {
using PFT = Permutation<FromFrame, ToFrame>;
static std::map<PFT::CoordinatePermutation, std::string> const debug_string =
{{PFT::XYZ, "XYZ"},
{PFT::YZX, "YZX"},
{PFT::ZXY, "ZXY"},
{PFT::XZY, "XZY"},
{PFT::ZYX, "ZYX"},
{PFT::YXZ, "YXZ"}};
static std::map<typename PFT::CoordinatePermutation, std::string> const
debug_string = {{PFT::XYZ, "XYZ"},
{PFT::YZX, "YZX"},
{PFT::ZXY, "ZXY"},
{PFT::XZY, "XZY"},
{PFT::ZYX, "ZYX"},
{PFT::YXZ, "YXZ"}};
return out << debug_string.at(permutation.coordinate_permutation_);
}