Commit b77a88a4 authored by Peter Fackeldey's avatar Peter Fackeldey
Browse files

[vjets] ensure correct shape for sf

parent c6ab300a
......@@ -256,7 +256,7 @@ class VptSF:
if nlo:
nlo = self.nlo(dataset, LHE.Vpt, LHE.Nb, shifts=True)
if nlo is None:
sf = np.ones_like(LHE.Vpt)
sf = np.ones((len(events.MET),))
shift = 0
sf, shift = nlo
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment