mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Change "update_params" to "update_parameters" in test suite: test_ww_gen.py (#2577)
This commit is contained in:
parent
51cf475723
commit
b6c621f9b4
1 changed files with 3 additions and 3 deletions
|
|
@ -229,9 +229,9 @@ def test_ww_gen_roundtrip(run_in_tmpdir, model):
|
|||
particle_type = 'neutron'
|
||||
|
||||
wwg = openmc.WeightWindowGenerator(mesh, energy_bounds, particle_type)
|
||||
wwg.update_params = {'ratio' : 5.0,
|
||||
'threshold': 0.8,
|
||||
'value' : 'mean'}
|
||||
wwg.update_parameters = {'ratio' : 5.0,
|
||||
'threshold': 0.8,
|
||||
'value' : 'mean'}
|
||||
|
||||
model.settings.weight_window_generators = wwg
|
||||
model.export_to_xml()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue