Skip to content

Commit e7768b6

Browse files
committed
Update
[ghstack-poisoned]
1 parent bf1ead9 commit e7768b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernels/portable/cpu/util/advanced_index_util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ bool check_mask_indices(const Tensor& in, TensorOptList indices) {
5858
auto input_shape = executorch::runtime::tensor_shape_to_c_string(
5959
executorch::runtime::Span<const Tensor::SizesType>(
6060
in.sizes().data() + in_i, index.sizes().size()));
61+
#endif // ET_LOG_ENABLED
6162
ET_LOG(
6263
Error,
6364
"The shape of mask index %s must match the sizes of the corresponding input dimensions %s.",
6465
mask_shape.data(),
6566
input_shape.data());
66-
#endif // ET_LOG_ENABLED
6767
return false;
6868
}
6969
}

0 commit comments

Comments
 (0)