diff --git a/warp/native/volume_builder.cu b/warp/native/volume_builder.cu index 31c1a5316..fdd700d2f 100644 --- a/warp/native/volume_builder.cu +++ b/warp/native/volume_builder.cu @@ -147,14 +147,14 @@ class DeviceBuffer mManaged = true; } - /// @brief Retuns a raw pointer to the host/CPU buffer managed by this allocator. + /// @brief Returns a raw pointer to the host/CPU buffer managed by this allocator. /// @warning Note that the pointer can be NULL! void *data() const { return mCpuData; } - /// @brief Retuns a raw pointer to the device/GPU buffer managed by this allocator. + /// @brief Returns a raw pointer to the device/GPU buffer managed by this allocator. /// @warning Note that the pointer can be NULL! void *deviceData() const { diff --git a/warp/tests/test_volume.py b/warp/tests/test_volume.py index a72db3e82..6b48d41d0 100644 --- a/warp/tests/test_volume.py +++ b/warp/tests/test_volume.py @@ -644,7 +644,7 @@ def test_volume_introspection(test, device): voxels_unique = np.unique(voxels_actual, axis=0) assert voxel_count == voxels_unique.shape[0] - # Get back tiles from voxels, shoud match get_tiles() + # Get back tiles from voxels, should match get_tiles() voxel_tiles = 8 * (voxels_unique // 8) voxel_tiles_sorted = voxel_tiles[np.lexsort(voxel_tiles.T[::-1])] voxel_tiles_unique = np.unique(voxel_tiles_sorted, axis=0) diff --git a/warp/types.py b/warp/types.py index 7be71ab3d..4a6e5a38a 100644 --- a/warp/types.py +++ b/warp/types.py @@ -3275,8 +3275,8 @@ def feature_array(self, feature_index: int, dtype=None) -> array: """Returns one the the grid's feature data arrays as a Warp array Args: - feature_index: index of the supplemental dat aarray in the grid - dtype: type for the returned warp array. If not provided, will be deduced from the array metdata. + feature_index: Index of the supplemental data array in the grid + dtype: Type for the returned Warp array. If not provided, will be deduced from the array metadata. """ info = self.get_feature_array_info(feature_index)