Skip to content
Snippets Groups Projects
Commit 8f58f209 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

printf %lu for unsigned long aka size_t

parent 3de32532
No related branches found
No related tags found
1 merge request!121printf %lu for unsigned long aka size_t
...@@ -205,7 +205,7 @@ void buildFibers(Detector& desc, SensitiveDetector &sens, Volume &s_vol, xml_com ...@@ -205,7 +205,7 @@ void buildFibers(Detector& desc, SensitiveDetector &sens, Volume &s_vol, xml_com
} }
double l_pos_y = line.front().y(); double l_pos_y = line.front().y();
// use assembly as intermediate volume container to reduce number of daughter volumes // use assembly as intermediate volume container to reduce number of daughter volumes
Assembly lfibers(Form("fiber_array_line_%d", il)); Assembly lfibers(Form("fiber_array_line_%lu", il));
for (auto &p : line) { for (auto &p : line) {
int f_grid_id = -1; int f_grid_id = -1;
int f_id = -1; int f_id = -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment