mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Allow inactive batches to be 0 in Python API
This commit is contained in:
parent
c5cc890df6
commit
0c3a3a8f0a
1 changed files with 1 additions and 1 deletions
|
|
@ -414,7 +414,7 @@ class SettingsFile(object):
|
|||
@inactive.setter
|
||||
def inactive(self, inactive):
|
||||
check_type('inactive batches', inactive, Integral)
|
||||
check_greater_than('inactive batches', inactive, 0)
|
||||
check_greater_than('inactive batches', inactive, 0, True)
|
||||
self._inactive = inactive
|
||||
|
||||
@particles.setter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue