From f2c34319e57e0018b07c757d75c8852af45a7ff5 Mon Sep 17 00:00:00 2001 From: Brady Planden Date: Mon, 23 Sep 2024 12:13:08 +0100 Subject: [PATCH] fixes docs build error with WeightedCost class. --- pybop/costs/_weighted_cost.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pybop/costs/_weighted_cost.py b/pybop/costs/_weighted_cost.py index b8b2f985..39c42ef6 100644 --- a/pybop/costs/_weighted_cost.py +++ b/pybop/costs/_weighted_cost.py @@ -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]