Commit fe3b0992 authored by Dennis Noll's avatar Dennis Noll
Browse files

[processor] util: neutrino - correct inf

parent b218f4cb
......@@ -368,7 +368,7 @@ def neutrino_reco_real(lepe, lepx, lepy, lepz, vx, vy):
@tf.function
def vx_constrain(vx, lepx):
inf = tf.constant(999999.0) # TODO: np.inf
inf = tf.constant(np.inf)
wmass = tf.constant(W_MASS.nominal)
constr_val = -(wmass ** 2) / (4 * lepx)
return tf.where(
......
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