Skip to content

Commit 5d65e70

Browse files
committed
style: apply code formatting with check_style.py #7409
1 parent 5926019 commit 5d65e70

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

cpp/open3d/core/Tensor.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2020,4 +2020,3 @@ std::tuple<Tensor, Tensor, Tensor> Tensor::SVD() const {
20202020

20212021
} // namespace core
20222022
} // namespace open3d
2023-

cpp/open3d/core/TensorKey.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ class TensorKey::SliceImpl : public TensorKey::Impl {
6565
}
6666
return std::make_shared<SliceImpl>(
6767
start_.has_value() ? start_.value() : start_default,
68-
stop_.has_value() ? stop_.value() : stop_default,
69-
step);
68+
stop_.has_value() ? stop_.value() : stop_default, step);
7069
}
7170
int64_t GetStart() const {
7271
if (start_.has_value()) {

cpp/tests/core/Tensor.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -879,8 +879,9 @@ TEST_P(TensorPermuteDevicesWithSYCL, Slice) {
879879
EXPECT_EQ(t_10.GetDataPtr(), static_cast<const char *>(blob_head) +
880880
core::Float32.ByteSize() * 1 * 3 * 4);
881881
EXPECT_EQ(t_10.ToFlatVector<float>(),
882-
std::vector<float>({12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
883-
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}));
882+
std::vector<float>({12, 13, 14, 15, 16, 17, 18, 19,
883+
20, 21, 22, 23, 0, 1, 2, 3,
884+
4, 5, 6, 7, 8, 9, 10, 11}));
884885
}
885886

886887
TEST_P(TensorPermuteDevicesWithSYCL, GetItem) {

0 commit comments

Comments
 (0)