Skip to content

Commit

Permalink
Merge pull request #467 from lsst/tickets/DM-19902
Browse files Browse the repository at this point in the history
DM-19902: Observatory longitude should be W and latitude N.
  • Loading branch information
isullivan committed May 28, 2019
2 parents 0055ebd + 88ceacb commit edeebbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coord/Observatory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void Observatory::setLongitude(lsst::geom::Angle const longitude) { _longitude =
void Observatory::setElevation(double const elevation) { _elevation = elevation; }

std::string Observatory::toString() const {
return (boost::format("%gW, %gN %g") % getLatitude().asDegrees() % getLongitude().asDegrees() %
return (boost::format("%gW, %gN %g") % getLongitude().asDegrees() % getLatitude().asDegrees() %
getElevation())
.str();
}
Expand Down

0 comments on commit edeebbf

Please sign in to comment.