Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
- id: pycln
args: [--config=pyproject.toml]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.1
rev: v0.9.9
hooks:
- id: ruff
args:
Expand All @@ -28,7 +28,7 @@ repos:
- id: ruff-format
exclude: ^docs/
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.1
rev: v1.15.0
hooks:
- id: mypy
additional_dependencies: [
Expand Down Expand Up @@ -61,7 +61,7 @@ repos:
types: [python]
exclude: ^(docs|surface_apps-assets)/
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
exclude: (-lock\.ya?ml|\benvironments/.*\.ya?ml|\.ipynb|^THIRD_PARTY_SOFTWARE\.rst)$
Expand Down
2 changes: 1 addition & 1 deletion surface_apps/iso_surfaces/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def extract_iso_surfaces(
if level < np.nanmin(values) or level > np.nanmax(values):
skip += [level]
continue
verts, faces, _, _ = marching_cubes(values, level=level)
verts, faces, _normals, _values = marching_cubes(values, level=level)
verts, faces = remove_nan(verts, faces)

vertices = []
Expand Down