Skip to content

Commit e40c216

Browse files
z003yctdfacebook-github-bot
authored andcommitted
fix incorrect variable naming (#362)
Summary: Pull Request resolved: #362 Reviewed By: bottler Differential Revision: D23712242 Pulled By: nikhilaravi fbshipit-source-id: 1c4184c8482049991356be7dbc9755b0c2018a1d
1 parent de77e42 commit e40c216

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytorch3d/csrc/rasterize_meshes/rasterize_meshes.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ RasterizeMeshesNaive(
136136
torch::Tensor RasterizeMeshesBackwardCpu(
137137
const torch::Tensor& face_verts,
138138
const torch::Tensor& pix_to_face,
139-
const torch::Tensor& grad_bary,
140139
const torch::Tensor& grad_zbuf,
140+
const torch::Tensor& grad_bary,
141141
const torch::Tensor& grad_dists,
142142
const bool perspective_correct,
143143
const bool clip_barycentric_coords);
@@ -146,8 +146,8 @@ torch::Tensor RasterizeMeshesBackwardCpu(
146146
torch::Tensor RasterizeMeshesBackwardCuda(
147147
const torch::Tensor& face_verts,
148148
const torch::Tensor& pix_to_face,
149-
const torch::Tensor& grad_bary,
150149
const torch::Tensor& grad_zbuf,
150+
const torch::Tensor& grad_bary,
151151
const torch::Tensor& grad_dists,
152152
const bool perspective_correct,
153153
const bool clip_barycentric_coords);

0 commit comments

Comments
 (0)