Skip to content

Commit

Permalink
Update TRestDetectorDaqChannelSwitchingProcess.cxx
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis authored Feb 27, 2024
1 parent ec2eb59 commit abfb2de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TRestDetectorDaqChannelSwitchingProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void TRestDetectorDaqChannelSwitchingProcess::InitProcess() {
auto mod = fReadout->GetReadoutModuleWithID(iter->first);
if (mod == nullptr) continue;
// finding out the old "firstdaqchannel" value
int mindaq = std::numeric_limits<Double_t>::max();
int mindaq = std::numeric_limits<Double_t>::int();
for (size_t i = 0; i < mod->GetNumberOfChannels(); i++) {
if (mod->GetChannel(i)->GetDaqID() < mindaq) {
mindaq = mod->GetChannel(i)->GetDaqID();
Expand Down

0 comments on commit abfb2de

Please sign in to comment.