Commit 2326f434 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

DepositionLaser: initialize some variables

(cherry picked from commit 3376b733)
parent 4d8595fb
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
 * @file
 * @brief Definition of [DepositionLaser] module
 *
 * @copyright Copyright (c) 2022 CERN and the Allpix Squared authors.
 * @copyright Copyright (c) 2017-2023 CERN and the Allpix Squared authors.
 * This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md".
 * In applying this license, CERN does not waive the privileges and immunities granted to it by virtue of its status as an
 * Intergovernmental Organization or submit itself to any jurisdiction.
@@ -130,8 +130,8 @@ namespace allpix {

        size_t number_of_photons_;
        double wavelength_;
        double absorption_length_;
        double refractive_index_;
        double absorption_length_{0.};
        double refractive_index_{0.};
        double pulse_duration_;

        // Histograms