Skip to content

Commit

Permalink
Fix compilation on clang-cl + Windows environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
syoyo authored and aekul committed Oct 8, 2017
1 parent 100e773 commit 6703980
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Distribution2D.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include <vector>
#include <algorithm>
#include <memory>

namespace aether {

Expand Down
2 changes: 1 addition & 1 deletion fwd/Math.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ template <typename T>
constexpr T epsilon = T(0.000001);

template <typename T>
constexpr T pi = T(M_PI);
constexpr T pi = T(EIGEN_PI);

template <typename T>
constexpr T one_over_pi = T(1) / pi<T>;
Expand Down

0 comments on commit 6703980

Please sign in to comment.