Skip to content

Commit 3afc582

Browse files
Add include <stdexcept> for std::runtime_error, reordered headers
1 parent f21d842 commit 3afc582

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

dpctl/tensor/libtensor/source/integer_advanced_indexing.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,15 @@
2626
#include <algorithm>
2727
#include <complex>
2828
#include <cstdint>
29-
#include <pybind11/complex.h>
30-
#include <pybind11/pybind11.h>
31-
#include <pybind11/stl.h>
29+
#include <stdexcept>
3230
#include <sycl/sycl.hpp>
3331
#include <utility>
3432

3533
#include "dpctl4pybind11.hpp"
34+
#include <pybind11/complex.h>
35+
#include <pybind11/pybind11.h>
36+
#include <pybind11/stl.h>
37+
3638
#include "kernels/integer_advanced_indexing.hpp"
3739
#include "utils/memory_overlap.hpp"
3840
#include "utils/offset_utils.hpp"

0 commit comments

Comments
 (0)