diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-28 15:58:06 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-28 15:58:06 +0000 |
commit | a2cf94a36f2137a1b517595b1408983ab2dea34a (patch) | |
tree | fb979fb4cf4f8052c8cc66b1ec9516d91fcd859b /unsupported/test/cxx11_tensor_volume_patch.cpp | |
parent | 1a46cf3a48ad3a6ba5ba471468cf57e3d3e0493c (diff) | |
parent | bc0f5df265caa21a2120c22453655a7fcc941991 (diff) | |
download | eigen-android13-frc-permission-release.tar.gz |
Snap for 8512216 from bc0f5df265caa21a2120c22453655a7fcc941991 to tm-frc-permission-releaset_frc_per_330444010android13-frc-permission-release
Change-Id: I14c5e3861b62897267cccac7dacced34d75e0a5b
Diffstat (limited to 'unsupported/test/cxx11_tensor_volume_patch.cpp')
-rw-r--r-- | unsupported/test/cxx11_tensor_volume_patch.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unsupported/test/cxx11_tensor_volume_patch.cpp b/unsupported/test/cxx11_tensor_volume_patch.cpp index ca6840f3b..862212e82 100644 --- a/unsupported/test/cxx11_tensor_volume_patch.cpp +++ b/unsupported/test/cxx11_tensor_volume_patch.cpp @@ -70,9 +70,9 @@ static void test_entire_volume_patch() const int dy = patch_y - 1; const int dx = patch_x - 1; - const int forward_pad_z = dz - dz / 2; - const int forward_pad_y = dy - dy / 2; - const int forward_pad_x = dx - dx / 2; + const int forward_pad_z = dz / 2; + const int forward_pad_y = dy / 2; + const int forward_pad_x = dx / 2; for (int pz = 0; pz < patch_z; pz++) { for (int py = 0; py < patch_y; py++) { @@ -105,7 +105,7 @@ static void test_entire_volume_patch() } } -void test_cxx11_tensor_volume_patch() +EIGEN_DECLARE_TEST(cxx11_tensor_volume_patch) { CALL_SUBTEST(test_single_voxel_patch()); CALL_SUBTEST(test_entire_volume_patch()); |