Skip to content

Commit 79a7fcf

Browse files
generatedunixname1262449429094718meta-codesync[bot]
authored andcommitted
fbcode/vision/fair/pytorch3d/pytorch3d/csrc/rasterize_meshes/rasterize_meshes_cpu.cpp
Reviewed By: bottler Differential Revision: D94062914 fbshipit-source-id: 9147dc68d115ce5761ebb7d07c035ac4b664da0b
1 parent e43ed8c commit 79a7fcf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pytorch3d/csrc/rasterize_meshes/rasterize_meshes_cpu.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ auto ComputeFaceAreas(const torch::Tensor& face_verts) {
106106
return face_areas;
107107
}
108108

109+
namespace {
110+
109111
// Helper function to use with std::find_if to find the index of any
110112
// values in the top k struct which match a given idx.
111113
struct IsNeighbor {
@@ -118,7 +120,6 @@ struct IsNeighbor {
118120
int neighbor_idx;
119121
};
120122

121-
namespace {
122123
void RasterizeMeshesNaiveCpu_worker(
123124
const int start_yi,
124125
const int end_yi,

0 commit comments

Comments
 (0)