Skip to content

Commit

Permalink
Move up the math defines because eigen probably include cmath already.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindlewis23 committed Aug 8, 2024
1 parent 7ab1c89 commit 9e2a000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hexrd/transforms/cpp_sublibrary/src/inverse_distortion.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#define _USE_MATH_DEFINES
#include <pybind11/pybind11.h>
#include <pybind11/eigen.h>
#include <Eigen/Core>
#include <xsimd/xsimd.hpp>
#define _USE_MATH_DEFINES
#include <cmath>

namespace py = pybind11;
Expand Down

0 comments on commit 9e2a000

Please sign in to comment.