Skip to content

Commit e6522fb

Browse files
committed
bugfix: cpu builder used hardcoded box3f instead of templated box<T,D>
1 parent 1a37323 commit e6522fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cuBQL/builder/cpu/spatialMedian.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ namespace cuBQL {
136136
if (primIDs.empty()) {
137137
// if we had no valid input prims whatsoever
138138
bvh.nodes = new typename BinaryBVH<T,D>::Node[1];
139-
bvh.nodes[0].bounds = box3f();
139+
bvh.nodes[0].bounds = box_t();
140140
bvh.nodes[0].admin.offset = 0;
141141
bvh.nodes[0].admin.count = 1;
142142
bvh.primIDs = new uint32_t[numPrims];

0 commit comments

Comments
 (0)