Verified Commit 0fe654b3 authored by Tobias WEBER's avatar Tobias WEBER
Browse files

bugfix

parent 5dfaa7d1
......@@ -86,6 +86,10 @@ bool convert_tof(const fs::path& tof_file, const fs::path& out_file)
t_data cnt = data[y*PSD_WIDTH + x];
*(row + x) = cnt;
if(t == 0)
*(total_row + x) = cnt;
else
*(total_row + x) = *(total_row + x) + cnt;
counts += cnt;
......
Markdown is supported
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