Skip to content

Commit

Permalink
Reorder includes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pim Schellart authored and Pim Schellart committed May 10, 2016
1 parent 8135c1e commit d452173
Show file tree
Hide file tree
Showing 22 changed files with 12 additions and 25 deletions.
1 change: 0 additions & 1 deletion examples/timeConvolveGpu.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#include <ctime>

#include "lsst/utils/Utils.h"
#include <cmath>
#include "lsst/daf/base.h"
#include "lsst/pex/exceptions.h"
#include "lsst/pex/logging/Trace.h"
Expand Down
1 change: 0 additions & 1 deletion examples/timeWarpGpu.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@

#include "lsst/utils/Utils.h"
#include "lsst/pex/exceptions.h"
#include <cmath>
#include "lsst/daf/base.h"
#include "lsst/pex/exceptions.h"
#include "lsst/pex/logging/Trace.h"
Expand Down
1 change: 0 additions & 1 deletion include/lsst/afw/image/Color.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <cmath>
#include <limits>
#include <cmath>
#include "lsst/afw/image/Filter.h"

namespace lsst {
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/afw/display/saturated.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
*
* Handle saturated pixels when making colour images
*/
#include "boost/format.hpp"
#include <cmath>
#include "boost/format.hpp"
#include "lsst/afw/detection.h"
#include "lsst/afw/image/MaskedImage.h"
#include "Rgb.h"
Expand Down
2 changes: 1 addition & 1 deletion src/detection/Footprint.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <string>
#include <typeinfo>
#include <algorithm>
#include <cmath>
#include "boost/format.hpp"
#include "lsst/pex/logging/Trace.h"
#include "lsst/pex/exceptions.h"
Expand All @@ -43,7 +44,6 @@
#include "lsst/afw/table/io/CatalogVector.h"
#include "lsst/afw/table/io/InputArchive.h"
#include "lsst/afw/table/io/OutputArchive.h"
#include <cmath>

namespace lsst {
namespace afw {
Expand Down
1 change: 0 additions & 1 deletion src/detection/Psf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include <typeinfo>
#include <cmath>

#include <cmath>
#include "lsst/afw/detection/Psf.h"
#include "lsst/afw/math/offsetImage.h"

Expand Down
2 changes: 1 addition & 1 deletion src/fits.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <cstdio>
#include <complex>
#include <cmath>
#include <sstream>

#include "fitsio.h"
Expand All @@ -16,7 +17,6 @@ extern "C" {
#include "boost/format.hpp"
#include "boost/scoped_array.hpp"

#include <cmath>
#include "lsst/pex/exceptions.h"
#include "lsst/pex/logging/Log.h"
#include "lsst/afw/fits.h"
Expand Down
1 change: 0 additions & 1 deletion src/geom/Box.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <cmath>
#include <limits>

#include <cmath>
#include "lsst/afw/geom/Box.h"

namespace geom = lsst::afw::geom;
Expand Down
4 changes: 2 additions & 2 deletions src/geom/ellipses/ConformalShear.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
* the GNU General Public License along with this program. If not,
* see <http://www.lsstcorp.org/LegalNotices/>.
*/
#include <cmath>

#include "lsst/afw/geom/ellipses/ConformalShear.h"
#include "lsst/afw/geom/ellipses/ReducedShear.h"
#include "lsst/afw/geom/ellipses/Distortion.h"

#include <cmath>

namespace lsst { namespace afw { namespace geom { namespace ellipses {

double ConformalShear::getAxisRatio() const {
Expand Down
2 changes: 1 addition & 1 deletion src/image/ImagePca.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
* @brief Utilities to support PCA analysis of a set of images
*/
#include <algorithm>
#include <memory>
#include <cmath>
#include <memory>

#include "Eigen/Core"
#include "Eigen/SVD"
Expand Down
4 changes: 2 additions & 2 deletions src/math/Approximate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
*/
#include <limits>
#include <algorithm>
#include <cmath>
#include <memory>
#include <numeric>
#include "Eigen/Core"
#include "Eigen/LU"
#include "boost/format.hpp"
#include <memory>
#include <cmath>
#include "lsst/pex/exceptions.h"
#include "lsst/afw/math/FunctionLibrary.h"
#include "lsst/afw/image/MaskedImage.h"
Expand Down
3 changes: 1 addition & 2 deletions src/math/Background.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@
*/
#include <iostream>
#include <limits>
#include <vector>
#include <cmath>
#include <cmath>
#include <vector>
#include "lsst/afw/image/MaskedImage.h"
#include "lsst/afw/math/Interpolate.h"
#include "lsst/afw/math/Background.h"
Expand Down
1 change: 0 additions & 1 deletion src/math/BackgroundMI.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include <limits>
#include <vector>
#include <cmath>
#include <cmath>
#include "lsst/afw/image/MaskedImage.h"
#include "lsst/afw/math/Interpolate.h"
#include "lsst/afw/math/Approximate.h"
Expand Down
1 change: 0 additions & 1 deletion src/math/Stack.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include <memory>

#include "lsst/base.h"
#include <cmath>
#include "lsst/pex/exceptions.h"
#include "lsst/afw/math/Stack.h"
#include "lsst/afw/math/MaskedVector.h"
Expand Down
1 change: 0 additions & 1 deletion src/math/Statistics.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#include "lsst/pex/exceptions.h"
#include "lsst/afw/image/Image.h"
#include "lsst/afw/math/Statistics.h"
#include <cmath>
#include "lsst/afw/geom/Angle.h"

using namespace std;
Expand Down
1 change: 0 additions & 1 deletion src/table/Match.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include "boost/scoped_array.hpp"

#include <cmath>
#include "lsst/pex/exceptions.h"
#include "lsst/pex/logging/Trace.h"
#include "lsst/pex/logging/Log.h"
Expand Down
2 changes: 1 addition & 1 deletion src/table/io/FitsSchemaInputMapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <cstdio>
#include <array>
#include <cmath>

#include "boost/regex.hpp"
#include "boost/lexical_cast.hpp"
Expand All @@ -11,7 +12,6 @@
#include "boost/multi_index/ordered_index.hpp"
#include "boost/multi_index/hashed_index.hpp"
#include "boost/multi_index/member.hpp"
#include <cmath>

#include "lsst/pex/logging.h"
#include "lsst/afw/table/io/FitsSchemaInputMapper.h"
Expand Down
1 change: 0 additions & 1 deletion tests/convolveGPU.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#include <ctime>

#include "lsst/daf/base.h"
#include <cmath>
#include "lsst/utils/Utils.h"
#include "lsst/pex/exceptions.h"
#include "lsst/pex/logging/Trace.h"
Expand Down
1 change: 0 additions & 1 deletion tests/statistics.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include "lsst/pex/exceptions.h"
#include "lsst/afw/image/Image.h"
#include "lsst/afw/math/Statistics.h"
#include <cmath>

using namespace std;

Expand Down
2 changes: 1 addition & 1 deletion tests/testFitsTables.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
#include <iostream>
#include <iterator>
#include <algorithm>
#include <cmath>
#include <map>

#include "boost/filesystem.hpp"

#include <cmath>
#include "lsst/afw/table/Source.h"

struct EqualityCompare {
Expand Down
2 changes: 1 addition & 1 deletion tests/testTableArchives.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
#include <iostream>
#include <iterator>
#include <algorithm>
#include <cmath>
#include <map>

#include "boost/filesystem.hpp"
#include "Eigen/Core"

#include <cmath>
#include "lsst/afw/table/io/Persistable.h"
#include "lsst/afw/table/io/ArchiveIndexSchema.h"
#include "lsst/afw/table/io/OutputArchive.h"
Expand Down
1 change: 0 additions & 1 deletion tests/testWarpGpu.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#include <cmath>

#include "lsst/daf/base.h"
#include <cmath>
#include "lsst/utils/Utils.h"
#include "lsst/pex/exceptions.h"
#include "lsst/pex/exceptions.h"
Expand Down

0 comments on commit d452173

Please sign in to comment.