Skip to content

Commit d438609

Browse files
#1100 flake8
1 parent 54d45f9 commit d438609

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pybamm/solvers/base_solver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def report(string):
288288
# Add sensitivity vectors to the rhs and algebraic equations
289289
if self.solve_sensitivity_equations is True:
290290
if name == "rhs":
291-
report(f"Creating sensitivity equations for rhs using CasADi")
291+
report("Creating sensitivity equations for rhs using CasADi")
292292
df_dx = casadi.jacobian(func, y_diff)
293293
df_dp = casadi.jacobian(func, p_casadi_stacked)
294294
S_x_mat = S_x.reshape(

pybamm/solvers/processed_symbolic_variable.py

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#
44
import casadi
55
import numbers
6-
import numpy as np
76

87

98
class ProcessedSymbolicVariable(object):

0 commit comments

Comments
 (0)