File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/dryad/format/endf/resonances/lrf7 Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,16 +43,16 @@ namespace lrf7 {
4343 : dryad::id::ParticleID::photon ();
4444 dryad::resonances::Particle a ( id,
4545 endfPairs.massParticleA ()[i] * constants::neutron_mass,
46- endfPairs.spinParticleA ()[i],
46+ std::abs ( endfPairs.spinParticleA ()[i] ) ,
4747 endfPairs.spinParticleA ()[i] == 0 .
4848 ? endfPairs.parityParticleA ()[i] >= 0 ? +1 : -1
49- : endfPairs.spinParticleA ()[i] > 0 ? +1 : -1 );
49+ : endfPairs.spinParticleA ()[i] >= 0 ? +1 : -1 );
5050 dryad::resonances::Particle b ( reactions[i].residual ().value (),
5151 endfPairs.massParticleB ()[i] * constants::neutron_mass,
52- endfPairs.spinParticleB ()[i],
52+ std::abs ( endfPairs.spinParticleB ()[i] ) ,
5353 endfPairs.spinParticleB ()[i] == 0 .
5454 ? endfPairs.parityParticleB ()[i] >= 0 ? +1 : -1
55- : endfPairs.spinParticleB ()[i] > 0 ? +1 : -1 );
55+ : endfPairs.spinParticleB ()[i] >= 0 ? +1 : -1 );
5656 pairs.emplace_back ( dryad::resonances::ParticlePair ( std::move ( a ), std::move ( b ) ) );
5757
5858 // ! @todo compare spins and parity to particle database to detect errors
You can’t perform that action at this time.
0 commit comments