Skip to content

Commit 66073a7

Browse files
Add include <stdexcept> for std::runtime_error, reordered headers
1 parent d05ef0c commit 66073a7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

dpctl/tensor/libtensor/source/elementwise_functions/true_divide.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,18 @@
2323
/// specifically functions for elementwise operations.
2424
//===----------------------------------------------------------------------===//
2525

26-
#include "dpctl4pybind11.hpp"
2726
#include <complex>
2827
#include <cstdint>
29-
#include <pybind11/numpy.h>
30-
#include <pybind11/pybind11.h>
31-
#include <pybind11/stl.h>
28+
#include <stdexcept>
3229
#include <sycl/sycl.hpp>
3330
#include <utility>
3431
#include <vector>
3532

33+
#include "dpctl4pybind11.hpp"
34+
#include <pybind11/numpy.h>
35+
#include <pybind11/pybind11.h>
36+
#include <pybind11/stl.h>
37+
3638
#include "elementwise_functions.hpp"
3739
#include "simplify_iteration_space.hpp"
3840
#include "true_divide.hpp"

0 commit comments

Comments
 (0)