Skip to content

Commit 44adddc

Browse files
committed
reverted a few buggy changes
1 parent 2bbe9c7 commit 44adddc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/gapi/test/rmat/rmat_view_tests.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ TEST_P(RMatViewNDTest, DefaultStep) {
7676
std::tie(depth, ndims) = GetParam();
7777
std::vector<int> dims(ndims, 12);
7878
GMatDesc desc;
79-
desc.size.dims = desc.dims = dims;
79+
desc.dims = dims;
8080
desc.depth = depth;
8181
GAPI_Assert(desc.chan == -1);
8282
auto elemSize = CV_ELEM_SIZE(depth);
@@ -113,7 +113,7 @@ TEST_P(RMatViewNDTest, StepFromView) {
113113
std::vector<int> dims(ndims, 12);
114114
std::vector<int> aligned(ndims, 16);
115115
GMatDesc desc;
116-
desc.size.dims = desc.dims = dims;
116+
desc.dims = dims;
117117
desc.depth = depth;
118118
GAPI_Assert(desc.chan == -1);
119119
auto elemSize = CV_ELEM_SIZE(depth);
@@ -145,7 +145,7 @@ TEST_P(RMatViewNDTestNegative, DefaultStep) {
145145
std::tie(depth, chan, ndims) = GetParam();
146146
std::vector<int> dims(ndims, 12);
147147
GMatDesc desc;
148-
desc.size.dims = desc.dims = dims;
148+
desc.dims = dims;
149149
desc.depth = depth;
150150
desc.chan = chan;
151151
auto elemSize = CV_ELEM_SIZE(depth);

0 commit comments

Comments
 (0)