Skip to content

Commit d6e5bcb

Browse files
committed
promote an assert to non-debug
1 parent 3c3baab commit d6e5bcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transformation/voxelization/voxelized_volume.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ impl VoxelizedVolume {
193193
fill_mode: FillMode,
194194
keep_voxel_to_primitives_map: bool,
195195
) -> Self {
196-
debug_assert!(resolution > 1);
196+
assert!(resolution > 1);
197197
let mut result = VoxelizedVolume {
198198
resolution: [0; DIM],
199199
origin: Point::origin(),

0 commit comments

Comments
 (0)