Skip to content

Commit e8c103e

Browse files
committed
more pixel affine coverage
1 parent 85161a6 commit e8c103e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_mat_pixel_affine.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ static int test_mat_pixel_affine_c4(int w, int h)
184184
{
185185
ncnn::Mat a0 = RandomMat(w, h, 4);
186186

187-
const float points_from[4] = {w / 2.f, h / 2.f, w / 2.f + 2.f, h / 2.f};
188-
const float points_to[4] = {w / 8.f, h / 8.f, w / 8.f + 1.f, h / 8.f + 3.f};
187+
const float points_from[4] = {w / 8.f, h / 8.f, w / 8.f + 1.f, h / 8.f + 3.f};
188+
const float points_to[4] = {w / 2.f, h / 2.f, w / 2.f + 2.f, h / 2.f};
189189

190190
float tm[6];
191191
float tm_inv[6];

0 commit comments

Comments
 (0)