Skip to content

Commit

Permalink
fix GridConfigBase
Browse files Browse the repository at this point in the history
true-real-michael committed Nov 15, 2023
1 parent 12cbe7a commit a84eab9
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion octreelib/grid/grid.py
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ class GridConfig(GridConfigBase):
octree_type: type of Octree used
octree_config: config to be forwarded to the octrees
debug: debug mode
grid_voxel_edge_length: initial size of voxels
voxel_edge_length: initial size of voxels
corner: corner of a grid
"""

4 changes: 2 additions & 2 deletions octreelib/grid/grid_base.py
Original file line number Diff line number Diff line change
@@ -55,13 +55,13 @@ class GridConfigBase(ABC):
octree_type: type of Octree used
octree_config: config to be forwarded to the octrees
debug: debug mode
grid_voxel_edge_length: initial size of voxels
voxel_edge_length: initial size of voxels
corner: corner of a grid
"""

octree_manager_type: Type[T] = OctreeManager
octree_type: Type[T] = OctreeBase
octree_config: OctreeConfigBase = field(default_factory=OctreeConfig)
octree_config: OctreeConfigBase = field(default_factory=OctreeConfigBase)
debug: bool = False
voxel_edge_length: float = 1
corner: Point = field(default_factory=lambda: np.array(([0.0, 0.0, 0.0])))

0 comments on commit a84eab9

Please sign in to comment.