Skip to content

Commit

Permalink
diff without option is ok
Browse files Browse the repository at this point in the history
  • Loading branch information
bam241 committed Aug 29, 2024
1 parent 7ce1b0a commit 3197ee4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openmc/model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1050,10 +1050,10 @@ def differentiate_mats(self, diff_volume_method: str,
volume equally between the new materials, 'match cell' sets the
volume of the material to volume of the cell they fill.
"""
if diff_volume_method not in ['divide equally', 'match cell']:
raise ValueError(
f"diff_volume_method must be 'divide equally' or 'match cell', "
f"not '{diff_volume_method}'")
# if diff_volume_method not in ['divide equally', 'match cell']:
# raise ValueError(
# f"diff_volume_method must be 'divide equally' or 'match cell', "
# f"not '{diff_volume_method}'")
# Count the number of instances for each cell and material
self.geometry.determine_paths(instances_only=True)

Expand Down

0 comments on commit 3197ee4

Please sign in to comment.