From 8fa14c1f7003f3192ce2d5eba6137f911e7e4ed1 Mon Sep 17 00:00:00 2001 From: Feda Curic Date: Sat, 3 Aug 2024 08:24:16 +0200 Subject: [PATCH 1/2] Pin numpy because v2 causes problems --- notebooks/ES_2D_Heat_Equation.py | 2 +- setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/notebooks/ES_2D_Heat_Equation.py b/notebooks/ES_2D_Heat_Equation.py index 76f3e18..bb6e0b8 100644 --- a/notebooks/ES_2D_Heat_Equation.py +++ b/notebooks/ES_2D_Heat_Equation.py @@ -6,7 +6,7 @@ # extension: .py # format_name: percent # format_version: '1.3' -# jupytext_version: 1.16.0 +# jupytext_version: 1.16.4 # kernelspec: # display_name: Python 3 (ipykernel) # language: python diff --git a/setup.py b/setup.py index 0bfefbb..4e0ef66 100644 --- a/setup.py +++ b/setup.py @@ -11,6 +11,7 @@ "matplotlib>=3.5.1,<4.0.0", "jupyter", "jupytext", + "numpy<2.0.0", "pandas>=1.4.2,<2.0.0", "scipy>=1.9.0,<2.0.0", ], From 8bf2b979183d8a5384db33d8e4e8f5d522a1eb69 Mon Sep 17 00:00:00 2001 From: Feda Curic Date: Sat, 3 Aug 2024 08:32:27 +0200 Subject: [PATCH 2/2] Apply black --- dass/pde.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dass/pde.py b/dass/pde.py index bb7f3a6..3c44774 100644 --- a/dass/pde.py +++ b/dass/pde.py @@ -1,4 +1,5 @@ """Partial Differential Equations to use as forward models.""" + from typing import Optional import numpy as np