Skip to content

Commit

Permalink
Consistent use of str_ in type_.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ilhamv committed May 7, 2024
1 parent 9a9c8b2 commit 7ec41bf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mcdc/type_.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,14 +271,14 @@ def particle_bank(max_size):
[
("particles", particle_record, (max_size,)),
("size", int64, (1,)),
("tag", "U16"),
("tag", str_),
]
)


def precursor_bank(max_size):
return into_dtype(
[("precursors", precursor, (max_size,)), ("size", int64, (1,)), ("tag", "U16")]
[("precursors", precursor, (max_size,)), ("size", int64, (1,)), ("tag", str_)]
)


Expand Down Expand Up @@ -755,7 +755,7 @@ def make_type_setting(deck):
# Misc.
("progress_bar", bool_),
("caching", bool_),
("output_name", "U32"),
("output_name", str_),
("save_input_deck", bool_),
("track_particle", bool_),
# Eigenvalue mode
Expand All @@ -772,10 +772,10 @@ def make_type_setting(deck):
("census_time", float64, (card["N_census"],)),
# Particle source file
("source_file", bool_),
("source_file_name", "U32"),
("source_file_name", str_),
# Initial condition source file
("IC_file", bool_),
("IC_file_name", "U32"),
("IC_file_name", str_),
("N_precursor", uint64),
# TODO: Move to technique
("N_sensitivity", uint64),
Expand Down

0 comments on commit 7ec41bf

Please sign in to comment.