File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
multi_physics/QED/python_bindings Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ compute_gamma_ele_pos_wrapper(
305305 const REAL
306306 *p_px = nullptr , *p_py = nullptr , *p_pz = nullptr ;
307307
308- size_t how_many = 0 ;
308+ int how_many = 0 ;
309309
310310 std::tie (
311311 how_many,
@@ -357,7 +357,7 @@ chi_photon_wrapper(
357357 *p_ex = nullptr , *p_ey = nullptr , *p_ez = nullptr ,
358358 *p_bx = nullptr , *p_by = nullptr , *p_bz = nullptr ;
359359
360- size_t how_many = 0 ;
360+ int how_many = 0 ;
361361
362362 std::tie (
363363 how_many,
@@ -1135,7 +1135,7 @@ PYBIND11_MODULE(pxr_qed, m) {
11351135 py::arg (" do_regular" ) = py::bool_ (true ),
11361136 py::arg (" verbose" ) = py::bool_ (true ))
11371137 .def (" save_as" ,
1138- [&](const bw_pair_prod_lookup_table &self, const std::string file_name){
1138+ [&](const bw_pair_prod_lookup_table &self, const std::string& file_name){
11391139 if (!self.is_init ()){
11401140 throw_error (" Table must be initialized!" );
11411141 }
You can’t perform that action at this time.
0 commit comments