Merge pull request #1275 from boostorg/fix/initialize_ob_tran

Initialize variables in ob_tran projection
This commit is contained in:
Vissarion Fisikopoulos 2024-07-24 16:45:10 +03:00 committed by GitHub
commit 8dc75e608a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,8 +3,9 @@
// Copyright (c) 2008-2015 Barend Gehrels, Amsterdam, the Netherlands. // Copyright (c) 2008-2015 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2023 Adam Wulkiewicz, Lodz, Poland. // Copyright (c) 2023 Adam Wulkiewicz, Lodz, Poland.
// This file was modified by Oracle on 2017-2020. // This file was modified by Oracle on 2017-2024.
// Modifications copyright (c) 2017-2020, Oracle and/or its affiliates. // Modifications copyright (c) 2017-2024, Oracle and/or its affiliates.
// Contributed and/or modified by Visarion Fysikopoulos, on behalf of Oracle.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle.
// Use, modification and distribution is subject to the Boost Software License, // Use, modification and distribution is subject to the Boost Software License,
@ -199,8 +200,9 @@ namespace projections
} }
std::shared_ptr<dynamic_wrapper_b<T, Parameters> > link; std::shared_ptr<dynamic_wrapper_b<T, Parameters> > link;
T lamp; T lamp = 0;
T cphip, sphip; T cphip = 0;
T sphip = 0;
}; };
template <typename StaticParameters, typename T, typename Parameters> template <typename StaticParameters, typename T, typename Parameters>
@ -244,8 +246,9 @@ namespace projections
} }
projection_type link; projection_type link;
T lamp; T lamp = 0;
T cphip, sphip; T cphip = 0;
T sphip = 0;
}; };
template <typename T, typename Par> template <typename T, typename Par>