Skip to content

Commit

Permalink
Workaround for default schema
Browse files Browse the repository at this point in the history
  • Loading branch information
pandreetto committed Nov 6, 2024
1 parent f9a9c17 commit 2ed520b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ACTSSeededCKFTrackingProc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ void ACTSSeededCKFTrackingProc::init() {
{
// taken from Acts::CylindricalSpacePointGridCreator::createGrid
float tmpf = 2 * _seedFinding_zMax / (_seedFinding_cotThetaMax * _seedFinding_deltaRMax);
int num_bins = static_cast<int>(std::max(1.f, std::floor(tmpf)));
int num_bins = std::max(2, static_cast<int>(std::max(1.f, std::floor(tmpf))));

for (int bin = 0; bin < num_bins; bin++)
{
Expand Down

0 comments on commit 2ed520b

Please sign in to comment.