Skip to content

Commit 3e2142e

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

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

dpctl/tensor/libtensor/source/boolean_advanced_indexing.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,17 @@
2323
/// dpctl.tensor.extract, dpctl.tensor.nonzero
2424
//===----------------------------------------------------------------------===//
2525

26-
#include "dpctl4pybind11.hpp"
2726
#include <cstdint>
2827
#include <limits>
29-
#include <pybind11/pybind11.h>
30-
#include <pybind11/stl.h>
28+
#include <stdexcept>
3129
#include <sycl/sycl.hpp>
3230
#include <utility>
3331
#include <vector>
3432

33+
#include "dpctl4pybind11.hpp"
34+
#include <pybind11/pybind11.h>
35+
#include <pybind11/stl.h>
36+
3537
#include "boolean_advanced_indexing.hpp"
3638
#include "kernels/boolean_advanced_indexing.hpp"
3739
#include "simplify_iteration_space.hpp"

0 commit comments

Comments
 (0)