@@ -49,19 +49,19 @@ namespace photoatomic {
49
49
// coherent scattering - MT504
50
50
auto incoherent = createVector ( table.principalCrossSectionBlock ().incoherent () );
51
51
std::transform ( incoherent.begin (), incoherent.end (), incoherent.begin (), convertValue );
52
- std::transform ( incoherent.begin (), incoherent.end (), total.begin (), total.begin (), std::plus () );
52
+ std::transform ( incoherent.begin (), incoherent.end (), total.begin (), total.begin (), std::plus<> () );
53
53
xs.emplace_back ( energies, std::move ( incoherent ) );
54
54
55
55
// pair production - MT516 (sum of MT515 and MT517)
56
56
auto pair = createVector ( table.principalCrossSectionBlock ().pairproduction () );
57
57
std::transform ( pair.begin (), pair.end (), pair.begin (), convertValue );
58
- std::transform ( pair.begin (), pair.end (), total.begin (), total.begin (), std::plus () );
58
+ std::transform ( pair.begin (), pair.end (), total.begin (), total.begin (), std::plus<> () );
59
59
xs.emplace_back ( energies, std::move ( pair ) );
60
60
61
61
// photoelectric - MT522 (sum of MT534 and up)
62
62
auto photoelectric = createVector ( table.principalCrossSectionBlock ().photoelectric () );
63
63
std::transform ( photoelectric.begin (), photoelectric.end (), photoelectric.begin (), convertValue );
64
- std::transform ( photoelectric.begin (), photoelectric.end (), total.begin (), total.begin (), std::plus () );
64
+ std::transform ( photoelectric.begin (), photoelectric.end (), total.begin (), total.begin (), std::plus<> () );
65
65
xs.emplace_back ( energies, std::move ( photoelectric ) );
66
66
67
67
// total - MT501
0 commit comments