Skip to content

Commit

Permalink
fix const correctness issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lucafedeli88 committed Oct 23, 2024
1 parent 80783fd commit 8d90f97
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ auto generate_dndt_table(const Real chi_min, const Real chi_max, const int chi_s
<< ", " << chi_size <<"]...\n";
std::cout.flush();

pxr_bw::dndt_lookup_table_params<Real> bw_params{chi_min, chi_max, chi_size};
const pxr_bw::dndt_lookup_table_params<Real> bw_params{chi_min, chi_max, chi_size};

auto table = pxr_bw::dndt_lookup_table<
Real, Vector>{bw_params};
Expand Down Expand Up @@ -106,7 +106,7 @@ auto generate_pair_table(const Real chi_min, const Real chi_max, const int chi_s
<< ", " << chi_size << " x " << frac_size <<"]...\n";
std::cout.flush();

pxr_bw::pair_prod_lookup_table_params<Real> bw_params{
const pxr_bw::pair_prod_lookup_table_params<Real> bw_params{
chi_min, chi_max, chi_size, frac_size};

auto table = pxr_bw::pair_prod_lookup_table<
Expand Down

0 comments on commit 8d90f97

Please sign in to comment.