Skip to content

Commit

Permalink
fix few run-time warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
YaqiWang committed Feb 14, 2019
1 parent 48dcf57 commit c890989
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/transfers/MultiAppNeutronicsSpectrumTransfer.C
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ MultiAppNeutronicsSpectrumTransfer::execute()
for (THREAD_ID tid = 0; tid < libMesh::n_threads(); ++tid)
{
PKAGeneratorNeutronicsBase & pka_uo = const_cast<PKAGeneratorNeutronicsBase &>(
_multi_app->appProblem(i).getUserObject<PKAGeneratorNeutronicsBase>(_pka_generator_name,
tid));
_multi_app->appProblemBase(i).getUserObject<PKAGeneratorNeutronicsBase>(
_pka_generator_name, tid));
pka_uo.setPDF(zaids, energies, probabilities);
}
}
Expand Down
1 change: 0 additions & 1 deletion tests/radiation_damage/coupled_fission_mockup/damage_sub.i
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@
[UserObjects]
[./neutronics_fission_generator]
type = PKAFissionFragmentNeutronics
relative_density = 1
partial_reaction_rates = '2.0e-11 0 0'
[../]
[./rasterizer]
Expand Down

0 comments on commit c890989

Please sign in to comment.