mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Fix travis error
This commit is contained in:
parent
6ad57ae11d
commit
8feefcd13a
1 changed files with 2 additions and 2 deletions
|
|
@ -375,13 +375,13 @@ def test_restart(capi_init):
|
|||
openmc.capi.next_batch()
|
||||
keff0 = openmc.capi.keff()
|
||||
|
||||
# Restart the simulation from the statepoint and the 5 active batches.
|
||||
# Restart the simulation from the statepoint and the 3 remaining active batches.
|
||||
openmc.capi.simulation_finalize()
|
||||
openmc.capi.hard_reset()
|
||||
openmc.capi.finalize()
|
||||
openmc.capi.init(args=('-r', 'restart_test.h5'))
|
||||
openmc.capi.simulation_init()
|
||||
for i in range(5):
|
||||
for i in range(3):
|
||||
openmc.capi.next_batch()
|
||||
keff1 = openmc.capi.keff()
|
||||
openmc.capi.simulation_finalize()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue