Skip to content

Commit f21d842

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

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

dpctl/tensor/libtensor/source/full_ctor.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@
2222
/// This file defines functions of dpctl.tensor._tensor_impl extensions
2323
//===--------------------------------------------------------------------===//
2424

25-
#include "dpctl4pybind11.hpp"
2625
#include <complex>
27-
#include <pybind11/complex.h>
28-
#include <pybind11/pybind11.h>
26+
#include <stdexcept>
2927
#include <sycl/sycl.hpp>
3028
#include <utility>
3129
#include <vector>
3230

31+
#include "dpctl4pybind11.hpp"
32+
#include <pybind11/complex.h>
33+
#include <pybind11/pybind11.h>
34+
3335
#include "kernels/constructors.hpp"
3436
#include "utils/output_validation.hpp"
3537
#include "utils/type_dispatch.hpp"

0 commit comments

Comments
 (0)