Skip to content

Commit d3d1706

Browse files
committed
Added missing include for OSX
1 parent 3304aa5 commit d3d1706

File tree

9 files changed

+27
-0
lines changed

9 files changed

+27
-0
lines changed

test/test_blas.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
* The full license is in the file LICENSE, distributed with this software. *
88
****************************************************************************/
99

10+
// Workaround because of missing include in xtensor
11+
#include <concepts>
12+
1013
#include "xtensor/containers/xarray.hpp"
1114
#include "xtensor/generators/xbuilder.hpp"
1215
#include "xtensor/generators/xrandom.hpp"

test/test_dot.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
* The full license is in the file LICENSE, distributed with this software. *
88
****************************************************************************/
99

10+
// Workaround because of missing include in xtensor
11+
#include <concepts>
12+
1013
#include "xtensor/containers/xarray.hpp"
1114
#include "xtensor/generators/xbuilder.hpp"
1215
#include "xtensor/views/xstrided_view.hpp"

test/test_float_norm.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
// this test is for https://github.com/xtensor-stack/xtensor-blas/issues/206
1111

12+
// Workaround because of missing include in xtensor
13+
#include <concepts>
14+
1215
#include "xtensor/containers/xarray.hpp"
1316
#include "xtensor/generators/xbuilder.hpp"
1417
#include "xtensor/generators/xrandom.hpp"

test/test_generator/cppy_source/test_dot_extended.cppy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
#include <algorithm>
1111

12+
// Workaround because of missing include in xtensor
13+
#include <concepts>
14+
1215
#include "gtest/gtest.h"
1316
#include "xtensor/containers/xarray.hpp"
1417
#include "xtensor/containers/xtensor.hpp"

test/test_generator/cppy_source/test_lstsq.cppy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
#include <algorithm>
1111

12+
// Workaround because of missing include in xtensor
13+
#include <concepts>
14+
1215
#include "gtest/gtest.h"
1316
#include "xtensor/containers/xarray.hpp"
1417
#include "xtensor/containers/xfixed.hpp"

test/test_generator/cppy_source/test_qr.cppy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
#include <algorithm>
1111

12+
// Workaround because of missing include in xtensor
13+
#include <concepts>
14+
1215
#include "gtest/gtest.h"
1316
#include "xtensor/containers/xarray.hpp"
1417
#include "xtensor/containers/xfixed.hpp"

test/test_lapack.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
* The full license is in the file LICENSE, distributed with this software. *
88
****************************************************************************/
99

10+
// Workaround because of missing include in xtensor
11+
#include <concepts>
12+
1013
#include "xtensor/containers/xarray.hpp"
1114
#include "xtensor/generators/xbuilder.hpp"
1215
#include "xtensor/io/xio.hpp"

test/test_linalg.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
* The full license is in the file LICENSE, distributed with this software. *
88
****************************************************************************/
99

10+
// Workaround because of missing include in xtensor
11+
#include <concepts>
12+
1013
#include "xtensor/containers/xarray.hpp"
1114
#include "xtensor/generators/xbuilder.hpp"
1215
#include "xtensor/generators/xrandom.hpp"

test/test_tensordot.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
* The full license is in the file LICENSE, distributed with this software. *
88
****************************************************************************/
99

10+
// Workaround because of missing include in xtensor
11+
#include <concepts>
12+
1013
#include "xtensor/containers/xarray.hpp"
1114
#include "xtensor/generators/xbuilder.hpp"
1215
#include "xtensor/views/xstrided_view.hpp"

0 commit comments

Comments
 (0)