Skip to content

Commit

Permalink
Keep fixing float3 error (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
liruilong940607 authored Oct 13, 2023
1 parent 1e64d1c commit 7208eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gsplat/cuda/csrc/forward.cu
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ __device__ float3 project_cov3d_ewa(
glm::mat3 cov = T * V * glm::transpose(T);

// add a little blur along axes and save upper triangular elements
return float3(float(cov[0][0]) + 0.3f, float(cov[0][1]), float(cov[1][1]) + 0.3f);
return make_float3(float(cov[0][0]) + 0.3f, float(cov[0][1]), float(cov[1][1]) + 0.3f);
}

// device helper to get 3D covariance from scale and quat parameters
Expand Down

0 comments on commit 7208eb5

Please sign in to comment.