Skip to content

Commit

Permalink
fixes docs build error with WeightedCost class.
Browse files Browse the repository at this point in the history
  • Loading branch information
BradyPlanden committed Sep 23, 2024
1 parent bb99bf9 commit f2c3431
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pybop/costs/_weighted_cost.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ class WeightedCost(BaseCost):
A subclass for constructing a linear combination of cost functions as
a single weighted cost function.
Inherits all parameters and attributes from ``BaseCost``.
Attributes
---------------------
Parameters
----------
costs : pybop.BaseCost
The individual PyBOP cost objects.
weights : list[float]
Expand Down

0 comments on commit f2c3431

Please sign in to comment.