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
else:
sf, shift = nlo
......
Markdown is supported
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