Commit 3198c2dd authored by clantz's avatar clantz
Browse files

Fixed GetElement now that I know how it's supposed to work

parent 09d5c5d0
......@@ -35,7 +35,7 @@ Channel* Detector::GetElement(int row, int column){
int entries=Element.size();
for(int i=0; i<entries; i++){
if(row==Element[i].mapping_row && column==Element[i].mapping_column){
return &entry[i];
return &Element[i];
return nullptr;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment