diff --git a/.github/workflows/building.yml b/.github/workflows/building.yml index 58ee3059f..68e59da2f 100644 --- a/.github/workflows/building.yml +++ b/.github/workflows/building.yml @@ -11,11 +11,15 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, windows-2019] - # support version based on: https://download.pytorch.org/whl/torch/ - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] - torch-version: [1.11.0, 1.12.0, 1.13.0, 2.0.0] - cuda-version: ['cu113', 'cu115', 'cu116', 'cu117', 'cu118'] + os: [windows-2019] + python-version: ['3.7'] + torch-version: [1.11.0] + cuda-version: ['cu113'] + # os: [ubuntu-20.04, windows-2019] + # # support version based on: https://download.pytorch.org/whl/torch/ + # python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + # torch-version: [1.11.0, 1.12.0, 1.13.0, 2.0.0] + # cuda-version: ['cu113', 'cu115', 'cu116', 'cu117', 'cu118'] exclude: - torch-version: 1.11.0 python-version: '3.11' diff --git a/gsplat/cuda/csrc/forward.cu b/gsplat/cuda/csrc/forward.cu index 5f29a3525..c737bd54a 100644 --- a/gsplat/cuda/csrc/forward.cu +++ b/gsplat/cuda/csrc/forward.cu @@ -662,8 +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 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