version 1.0.0-rc.19

This commit is contained in:
2024-10-18 20:17:29 +02:00
parent e6eb7af5ae
commit 2e62cb1738
151 changed files with 162 additions and 162 deletions

View File

@@ -320,15 +320,12 @@ std::vector<int64_t> DetectorWrapper::GetHighVoltage() const {
try {
auto result = det.getHighVoltage();
std::vector<int64_t> ret;
for (int i = 0; i < result.size(); i++) {
if (result[i] >= 0)
ret.push_back(result[i]);
}
for (int i : result)
ret.push_back(i);
return ret;
} catch (std::exception &e) {
throw JFJochException(JFJochExceptionCategory::Detector, e.what());
}
}
DetectorStatus DetectorWrapper::GetStatus() const {