Skip to content

Commit

Permalink
CalorimeterDefinitions: don't return -1 as uint32_t
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider authored Apr 4, 2024
1 parent 7e39f77 commit f0e4f78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE::particleFlowRecHitProducer {
return detId2denseIdHE(detId);

printf("invalid detId: %u\n", detId);
return -1;
return 0;
}
};

Expand Down

0 comments on commit f0e4f78

Please sign in to comment.