Skip to content

Commit 0eb5b76

Browse files
Rework include dependencies
1 parent 30ff9c4 commit 0eb5b76

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

include/xsimd/math/xsimd_math.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "xsimd_logarithm.hpp"
2121
#include "xsimd_power.hpp"
2222
#include "xsimd_rounding.hpp"
23-
#include "xsimd_scalar.hpp"
2423
#include "xsimd_trigonometric.hpp"
24+
#include "xsimd/types/xsimd_scalar.hpp"
2525

2626
#endif

include/xsimd/math/xsimd_power.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#include "xsimd_fp_sign.hpp"
1818
#include "xsimd_horner.hpp"
1919
#include "xsimd_logarithm.hpp"
20-
#include "xsimd_math_utils.hpp"
2120
#include "xsimd_numerical_constant.hpp"
21+
#include "xsimd/types/xsimd_common_math.hpp"
2222

2323
namespace xsimd
2424
{

include/xsimd/math/xsimd_math_utils.hpp renamed to include/xsimd/types/xsimd_common_math.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
* The full license is in the file LICENSE, distributed with this software. *
99
****************************************************************************/
1010

11-
#ifndef XSIMD_MATH_UTILS_HPP
12-
#define XSIMD_MATH_UTILS_HPP
11+
#ifndef XSIMD_COMMON_MATH_HPP
12+
#define XSIMD_COMMON_MATH_HPP
1313

1414
#include <limits>
1515
#include <type_traits>

include/xsimd/types/xsimd_fallback.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <cmath>
1717
#include <utility>
1818

19-
#include "xsimd/math/xsimd_scalar.hpp"
19+
#include "xsimd_scalar.hpp"
2020

2121
#include "xsimd_base.hpp"
2222
#include "xsimd_complex_base.hpp"

include/xsimd/math/xsimd_scalar.hpp renamed to include/xsimd/types/xsimd_scalar.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <cmath>
1515
#include <limits>
1616

17-
#include "xsimd_math_utils.hpp"
17+
#include "xsimd_common_math.hpp"
1818

1919
namespace xsimd
2020
{

0 commit comments

Comments
 (0)