Skip to content

Commit

Permalink
remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjrobins committed Oct 8, 2024
1 parent 7fc7fcd commit 4cb5360
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/pybamm/solvers/processed_variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,11 +262,6 @@ def __call__(

xr_interp = spatial_interp or not hermite_time_interp

print("self.hermite_interpolation", self.hermite_interpolation)
print("observe_raw", observe_raw)
print("xr_interp", xr_interp)
print("hermite_time_interp", hermite_time_interp)

if xr_interp:
if hermite_time_interp:
# Already interpolated in time
Expand Down Expand Up @@ -353,7 +348,6 @@ def _check_observe_raw(self, t):
"""
# if this is a time integral variable, t must be None and we observe either the
# data times (for a discrete sum) or the solution times (for a continuous sum)
print("_check_observe_raw", self.time_integral)
if self.time_integral is not None:
if self.time_integral.method == "discrete":
# discrete sum should be observed at the discrete times
Expand Down Expand Up @@ -533,7 +527,6 @@ def _observe_postfix(self, entries, t):
if self.time_integral is None:
return entries
if self.time_integral.method == "discrete":
print("postfix discrete", entries.shape)
return np.sum(entries, axis=0, initial=self.time_integral.initial_condition)
elif self.time_integral.method == "continuous":
return cumulative_trapezoid(
Expand Down

0 comments on commit 4cb5360

Please sign in to comment.