From 23816a871f90d0692587b2da2a3cda2e9d0ff7b2 Mon Sep 17 00:00:00 2001 From: Valentin Sulzer Date: Tue, 11 Feb 2020 11:16:13 -0500 Subject: [PATCH] #613 added more scipy refs --- CHANGELOG.md | 2 ++ pybamm/solvers/base_solver.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b11a63c585..f3d3f14d27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Features +- Added `Citations` object to print references when specific functionality is used ([#818](https://github.com/pybamm-team/PyBaMM/pull/818)) +- Updated `Solution` to allow exporting to matlab and csv formats ([#811](https://github.com/pybamm-team/PyBaMM/pull/811)) - Added functionality to solve DAE models with non-smooth current inputs ([#808](https://github.com/pybamm-team/PyBaMM/pull/808)) - Added functionality to simulate experiments and testing protocols ([#807](https://github.com/pybamm-team/PyBaMM/pull/807)) - Added fuzzy string matching for parameters and variables ([#796](https://github.com/pybamm-team/PyBaMM/pull/796)) diff --git a/pybamm/solvers/base_solver.py b/pybamm/solvers/base_solver.py index 450735eeef..9faace4b8b 100644 --- a/pybamm/solvers/base_solver.py +++ b/pybamm/solvers/base_solver.py @@ -371,6 +371,8 @@ def jac_fn(y0_alg): method=self.root_method, tol=self.root_tol, ) + pybamm.citations.register("virtanen2020scipy") + # Return full set of consistent initial conditions (y0_diff unchanged) y0_consistent = np.concatenate([y0_diff, sol.x])