fix kernel panic (vector out of range) in getReadoutRawString (#1250)

This commit is contained in:
Frank Haverland
2022-10-31 22:04:34 +01:00
committed by GitHub
parent b6b7587f0a
commit 1be49a75b1
4 changed files with 33 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ UnderTestPost* init_do_flow(std::vector<float> analog, std::vector<float> digits
for (int i = 0; i<analog.size(); i++) {
roi* anaROI = new roi();
string name = "ana_" + std::to_string(i);
string name = "ana_1" + std::to_string(i);
anaROI->name = name;
anaROI->result_float = analog[i];
gen_analog->ROI.push_back(anaROI);