Skip to content

Commit a12d452

Browse files
committed
Fix lint
1 parent bd8de1b commit a12d452

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

kernels/portable/cpu/op_isinf.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ namespace executor {
1515
namespace native {
1616

1717
Tensor& isinf_out(RuntimeContext& ctx, const Tensor& in, Tensor& out) {
18-
return internal::unary_ufunc_realhb_to_bool(static_cast<bool(*)(double)>(std::isinf), ctx, in, out);
18+
return internal::unary_ufunc_realhb_to_bool(
19+
static_cast<bool (*)(double)>(std::isinf), ctx, in, out);
1920
}
2021

2122
} // namespace native

kernels/portable/cpu/op_isnan.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ namespace executor {
1515
namespace native {
1616

1717
Tensor& isnan_out(RuntimeContext& ctx, const Tensor& in, Tensor& out) {
18-
return internal::unary_ufunc_realhb_to_bool(static_cast<bool(*)(double)>(std::isnan), ctx, in, out);
18+
return internal::unary_ufunc_realhb_to_bool(
19+
static_cast<bool (*)(double)>(std::isnan), ctx, in, out);
1920
}
2021

2122
} // namespace native

0 commit comments

Comments
 (0)