Skip to content

Commit

Permalink
Drop superfluous static casts to fix GH build
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyelewis committed May 22, 2021
1 parent 7a40e74 commit 0f48cc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/ct_test/cath/test/global_test_constants.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ namespace cath {
template <typename T>
inline constexpr T ACCURACY_PERCENTAGE_VAR_TMPL;
template <>
inline constexpr float ACCURACY_PERCENTAGE_VAR_TMPL<float> = static_cast<float>( 0.0000001 );
inline constexpr float ACCURACY_PERCENTAGE_VAR_TMPL<float> = 0.0000001F;
template <>
inline constexpr double ACCURACY_PERCENTAGE_VAR_TMPL<double> = static_cast<double>( 0.000000001 );
inline constexpr double ACCURACY_PERCENTAGE_VAR_TMPL<double> = 0.000000001;
template <>
inline constexpr long double ACCURACY_PERCENTAGE_VAR_TMPL<long double> = static_cast<long double>( 0.00000000001 );

template <typename T>
inline constexpr T LOOSER_ACCURACY_PERCENTAGE_VAR_TMPL;
template <>
inline constexpr float LOOSER_ACCURACY_PERCENTAGE_VAR_TMPL<float> = static_cast<float>( 1.0 );
inline constexpr float LOOSER_ACCURACY_PERCENTAGE_VAR_TMPL<float> = 1.0F;
template <>
inline constexpr double LOOSER_ACCURACY_PERCENTAGE_VAR_TMPL<double> = 0.0001;
template <>
Expand Down

0 comments on commit 0f48cc5

Please sign in to comment.