Skip to content

Commit

Permalink
fix super call
Browse files Browse the repository at this point in the history
  • Loading branch information
welschma committed Nov 17, 2020
1 parent 83e66e2 commit a85bcf7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templatefitter/templates/template1d.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

from templatefitter.histograms import Hist1d
from templatefitter.templates import AbstractTemplate
from templatefitter.utility import get_systematic_cov_mat

logging.getLogger(__name__).addHandler(logging.NullHandler())

Expand All @@ -23,7 +24,7 @@ def __init__(
pretty_variable=None,
pretty_label=None,
):
super(Template1d, self).__init__(name=name)
super().__init__(name=name)

self._hist = hist1d
self._flat_bin_counts = self._hist.bin_counts.flatten()
Expand Down

0 comments on commit a85bcf7

Please sign in to comment.