Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion columnflow/production/normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def extract_stats(*update_funcs):
)

# setup the event weight lookup table
process_weight_table = scipy.sparse.lil_matrix((max(process_ids) + 1, 1), dtype=np.float32)
process_weight_table = scipy.sparse.dok_matrix((max(process_ids) + 1, 1), dtype=np.float32)

def fill_weight_table(process_inst: od.Process, xsec: float, sum_weights: float) -> None:
if sum_weights == 0:
Expand Down