Skip to content

Commit

Permalink
#1100 flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinsulzer committed Jul 23, 2020
1 parent 067c504 commit 94314fb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion pybamm/solvers/base_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def set_up(self, model, inputs=None):

# Only allow solving sensitivity equations with the casadi format for now
if (
self.sensitivity is "explicit forward"
self.sensitivity == "explicit forward"
and model.convert_to_format != "casadi"
):
raise NotImplementedError(
Expand Down
1 change: 0 additions & 1 deletion pybamm/solvers/casadi_algebraic_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#
import casadi
import pybamm
import numbers
import numpy as np


Expand Down
1 change: 0 additions & 1 deletion tests/unit/test_solvers/test_casadi_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import numpy as np
from tests import get_mesh_for_testing, get_discretisation_for_testing
from scipy.sparse import eye
from scipy.optimize import least_squares


class TestCasadiSolver(unittest.TestCase):
Expand Down

0 comments on commit 94314fb

Please sign in to comment.