formatting

This commit is contained in:
2023-01-24 10:37:52 +01:00
parent 1f907b911e
commit 0b17318f10
3 changed files with 5 additions and 4 deletions

View File

@ -1810,7 +1810,8 @@ void DetectorImpl::setBadChannels(const std::string &fname, Positions pos) {
if (badchannels.size() != imod + 1) {
badchannels.push_back(std::vector<int>{});
}
Parallel(&Module::setBadChannels, {static_cast<int>(imod)}, badchannels[imod]);
Parallel(&Module::setBadChannels, {static_cast<int>(imod)},
badchannels[imod]);
}
} else if (pos.size() != 1) {

View File

@ -11,11 +11,11 @@ namespace sls {
Pattern::Pattern() {
// initialize pattern addresses
for (int i = 0; i != MAX_PATTERN_LEVELS; ++i) {
for (int i = 0; i != MAX_PATTERN_LEVELS; ++i) {
pat->startloop[i] = MAX_PATTERN_LENGTH - 1;
pat->stoploop[i] = MAX_PATTERN_LENGTH - 1;
pat->wait[i] = MAX_PATTERN_LENGTH - 1;
}
}
}
Pattern::~Pattern() { delete pat; }