Commit 92f9dfe9 authored by Jeremy Reizenstein's avatar Jeremy Reizenstein Committed by Facebook GitHub Bot
Browse files

overflow warning typo

Summary: bin_size should be 0 not -1 for naive rasterization. See https://github.com/facebookresearch/pytorch3d/issues/1129

Reviewed By: patricklabatut

Differential Revision: D35077115

fbshipit-source-id: b81ff74f47c78429977802f7dcadfd1b96676f8c
parent f2cf9d4d
......@@ -195,7 +195,7 @@ __global__ void RasterizeCoarseCudaKernel(
"To solve, "
"try increasing max_faces_per_bin / max_points_per_bin, "
"decreasing bin_size, "
"or setting bin_size to -1 to use the naive rasterization.";
"or setting bin_size to 0 to use the naive rasterization.";
printf(warning);
continue;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment