File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed
Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -268,8 +268,7 @@ std::pair<sycl::event, sycl::event>
268268 }
269269
270270 if (!(chc_type_id ==
271- array_types.typenum_to_lookup_id (chc_.get_typenum ())))
272- {
271+ array_types.typenum_to_lookup_id (chc_.get_typenum ()))) {
273272 throw py::type_error (
274273 " Choice array data types are not all the same." );
275274 }
@@ -396,8 +395,7 @@ struct ChooseWrapFactory
396395 fnT get ()
397396 {
398397 if constexpr (std::is_integral<IndT>::value &&
399- !std::is_same<IndT, bool >::value)
400- {
398+ !std::is_same<IndT, bool >::value) {
401399 using dpctl::tensor::indexing_utils::WrapIndex;
402400 fnT fn = kernels::choose_impl<WrapIndex<IndT>, IndT, T>;
403401 return fn;
@@ -415,8 +413,7 @@ struct ChooseClipFactory
415413 fnT get ()
416414 {
417415 if constexpr (std::is_integral<IndT>::value &&
418- !std::is_same<IndT, bool >::value)
419- {
416+ !std::is_same<IndT, bool >::value) {
420417 using dpctl::tensor::indexing_utils::ClipIndex;
421418 fnT fn = kernels::choose_impl<ClipIndex<IndT>, IndT, T>;
422419 return fn;
Original file line number Diff line number Diff line change @@ -246,8 +246,7 @@ class dpnp_less_comp
246246 ret = (b.imag () != b.imag () && a.imag () == a.imag ());
247247 }
248248 else if (a.real () == b.real () ||
249- (a.real () != a.real () && b.real () != b.real ()))
250- {
249+ (a.real () != a.real () && b.real () != b.real ())) {
251250 ret = (a.imag () < b.imag () ||
252251 (b.imag () != b.imag () && a.imag () == a.imag ()));
253252 }
Original file line number Diff line number Diff line change 5050from dpctl .tensor ._numpy_helper import normalize_axis_index
5151
5252import dpnp
53+
54+ # pylint: disable=no-name-in-module
5355import dpnp .backend .extensions .indexing ._indexing_impl as indexing_ext
5456
5557# pylint: disable=no-name-in-module
You can’t perform that action at this time.
0 commit comments