Skip to content

Commit

Permalink
#664 fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinsulzer committed Oct 25, 2019
1 parent 8c12675 commit 0a7d5f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 0 additions & 6 deletions docs/source/expression_tree/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,4 @@ Expression Tree
broadcasts
functions
interpolant
<<<<<<< HEAD
operations/index
=======
evaluate
simplify
jacobian
>>>>>>> master
5 changes: 3 additions & 2 deletions pybamm/models/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,13 @@ class BaseModel(object):
algebraic equations, Jacobain (if using) and events into a different format:
- None: keep PyBaMM expression tree structure.
- "python": convert into pure python code that will calculate the result of
- "python": convert into pure python code that will calculate the result of \
calling `evaluate(t, y)` on the given expression treeself.
- "casadi": convert into CasADi expression tree, which then uses CasADi's
- "casadi": convert into CasADi expression tree, which then uses CasADi's \
algorithm to calculate the Jacobian.
Default is "python".
"""

def __init__(self, name="Unnamed model"):
Expand Down

0 comments on commit 0a7d5f7

Please sign in to comment.