Skip to content

Commit bb302c2

Browse files
remove print commands (REVERT IF NEEDED FOR TESTING)
1 parent 5137845 commit bb302c2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/pyhf/experimental/modifiers.py

-3
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ def append(self, key, channel, sample, thismod, defined_sample):
8484
self.builder_data[key][sample]["data"]["mask"] += mod_data["mask"]
8585
if thismod:
8686
if thismod["name"] != func_name:
87-
print(thismod)
8887
self.builder_data["funcs"].setdefault(
8988
thismod["name"], thismod["data"]["expr"]
9089
)
@@ -150,14 +149,12 @@ def apply(self, pars):
150149
tensorlib, _ = get_backend()
151150
if self.batch_size is None:
152151
deps = self.param_viewer.get(pars)
153-
print("deps", deps.shape)
154152
results = tensorlib.astensor([f(deps) for f in self.funcs])
155153
results = tensorlib.einsum(
156154
"msab,m->msab", self.custom_mod_mask, results
157155
)
158156
else:
159157
deps = self.param_viewer.get(pars)
160-
print("deps", deps.shape)
161158
results = tensorlib.astensor([f(deps) for f in self.funcs])
162159
results = tensorlib.einsum(
163160
"msab,ma->msab", self.custom_mod_mask, results

0 commit comments

Comments
 (0)