diff --git a/pyproject.toml b/pyproject.toml index 3ddd63a..a82a8eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,7 +63,7 @@ extend-exclude = [ "third_party", ] src = ["sharp"] -target-version = "py39" +target-version = "py312" [tool.ruff.lint.pydocstyle] convention = "google" diff --git a/src/sharp/cli/render.py b/src/sharp/cli/render.py index 1b3a23e..22c0bf8 100644 --- a/src/sharp/cli/render.py +++ b/src/sharp/cli/render.py @@ -87,8 +87,8 @@ def render_gaussians( intrinsics = torch.tensor( [ - [f_px, 0, (width - 1) / 2., 0], - [0, f_px, (height - 1) / 2., 0], + [f_px, 0, (width - 1) / 2.0, 0], + [0, f_px, (height - 1) / 2.0, 0], [0, 0, 1, 0], [0, 0, 0, 1], ],