Skip to content

Commit

Permalink
fix missing case
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanmaierhofer committed Oct 10, 2023
1 parent c31b21d commit 07d20ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 5.3.0-prerelease003
- structured point clouds implementation (prerelease, for testing only)

### 5.3.0-prerelease002
- structured point clouds implementation (prerelease, for testing only)

Expand Down
1 change: 1 addition & 0 deletions src/Aardvark.Geometry.PointSet/Octrees/PointSetNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,7 @@ public bool TryGetPartIndices([NotNullWhen(true)] out int[]? result)
switch (PartIndices)
{
case null: result = null; return false;
case int x: result = new int[PointCountCell].Set(x); return true;
case uint x: checked { result = new int[PointCountCell].Set((int)x); return true; }
case byte[] xs: result = xs.Map(x => (int)x); return true;
case short[] xs: result = xs.Map(x => (int)x); return true;
Expand Down

0 comments on commit 07d20ea

Please sign in to comment.