Skip to content

Commit

Permalink
Drop type hints from kfactors.to_list
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhekhorn committed Mar 19, 2024
1 parent 55e015d commit 82e4657
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pineko/kfactor.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Module to include QCD K-factors in grids."""

import io
from collections.abc import Collection

import numpy as np
import pineappl
Expand Down Expand Up @@ -246,7 +245,7 @@ def do_it(
new_grid.write_lz4(target_grid_path)


def to_list(grid, central_kfactors: Collection[float]) -> Collection[float]:
def to_list(grid, central_kfactors):
"""Cast the centrals k-factors to the correct length.
Apply a normalization according to the length compared to the number of bins of the grid.
Expand Down

0 comments on commit 82e4657

Please sign in to comment.