Skip to content

Commit 3e58799

Browse files
committed
fix DD4hep autorange
1 parent fa5a453 commit 3e58799

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Plugins/DD4hep/src/DD4hepMaterialHelpers.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ std::shared_ptr<ProtoSurfaceMaterial> ActsPlugins::createProtoMaterial(
3737
AxisDirection bval = axisDirectionFromName(bin.first);
3838
BinningOption bopt = bin.second;
3939
double min = 0.;
40-
double max = 1.; // placeholder for open axes; replaced by the material mapper
40+
double max =
41+
1.; // placeholder for open axes; replaced by the material mapper
4142
if (bopt == closed) {
4243
min = -std::numbers::pi;
4344
max = std::numbers::pi;

0 commit comments

Comments
 (0)