Skip to content

Commit 285cd75

Browse files
committed
fix miscellaneous issues
1 parent ee80a90 commit 285cd75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

multi_physics/QED/python_bindings/pxr_qed.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)