@@ -103,6 +103,8 @@ template <typename Real>
103103std::string float_to_string (const Real num)
104104{
105105 std::stringstream ss;
106+ constexpr auto precision = 8 ;
107+ ss.precision (precision);
106108 ss << num;
107109 return ss.str ();
108110}
@@ -411,7 +413,7 @@ chi_ele_pos_wrapper(
411413 *p_ex = nullptr , *p_ey = nullptr , *p_ez = nullptr ,
412414 *p_bx = nullptr , *p_by = nullptr , *p_bz = nullptr ;
413415
414- size_t how_many = 0 ;
416+ int how_many = 0 ;
415417
416418 std::tie (
417419 how_many,
@@ -475,7 +477,7 @@ bw_get_optical_depth_wrapper(
475477 const REAL
476478 *p_unf_zero_one_minus_epsi = nullptr ;
477479
478- size_t how_many = 0 ;
480+ int how_many = 0 ;
479481
480482 std::tie (
481483 how_many, p_unf_zero_one_minus_epsi)=
@@ -511,7 +513,7 @@ bw_get_dn_dt_wrapper(
511513 const REAL
512514 *p_energy_phot = nullptr , *p_chi_phot = nullptr ;
513515
514- size_t how_many = 0 ;
516+ int how_many = 0 ;
515517
516518 std::tie (
517519 how_many,
@@ -681,7 +683,7 @@ qs_get_optical_depth_wrapper(
681683 const REAL
682684 *p_unf_zero_one_minus_epsi = nullptr ;
683685
684- size_t how_many = 0 ;
686+ int how_many = 0 ;
685687
686688 std::tie (
687689 how_many, p_unf_zero_one_minus_epsi)=
@@ -717,7 +719,7 @@ qs_get_dn_dt_wrapper(
717719 const REAL
718720 *p_energy_part = nullptr , *p_chi_part = nullptr ;
719721
720- size_t how_many = 0 ;
722+ int how_many = 0 ;
721723
722724 std::tie (
723725 how_many,
@@ -871,7 +873,7 @@ sc_pair_production_rate_wrapper(
871873 *p_ex = nullptr , *p_ey = nullptr , *p_ez = nullptr ,
872874 *p_bx = nullptr , *p_by = nullptr , *p_bz = nullptr ;
873875
874- size_t how_many = 0 ;
876+ int how_many = 0 ;
875877
876878 std::tie (
877879 how_many,
@@ -920,7 +922,7 @@ sc_expected_pair_number_wrapper(
920922 *p_ex = nullptr , *p_ey = nullptr , *p_ez = nullptr ,
921923 *p_bx = nullptr , *p_by = nullptr , *p_bz = nullptr ;
922924
923- size_t how_many = 0 ;
925+ int how_many = 0 ;
924926
925927 std::tie (
926928 how_many,
0 commit comments