Skip to content

Commit

Permalink
fix wrong assert about maxTimeSegments.
Browse files Browse the repository at this point in the history
  • Loading branch information
freibold committed Sep 9, 2024
1 parent 6d38b5c commit af475bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernels/sycl/rthwif_embree_builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ namespace embree
// TODO: remove
std::cerr << "maxTimeSegments not yet computed. this is unexpected." << std::endl;
}
assert(maxTimeSegments > 1);
assert(maxTimeSegments > 0);

/* calculate size of geometry descriptor buffer */
size_t totalBytes = 0;
Expand Down

0 comments on commit af475bd

Please sign in to comment.