From b424e7c749b556a9549e3eca9a3b53b464751266 Mon Sep 17 00:00:00 2001 From: "Garth N. Wells" Date: Mon, 15 Apr 2024 22:08:28 +0100 Subject: [PATCH] Undo a formatting change --- python/dolfinx/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/dolfinx/__init__.py b/python/dolfinx/__init__.py index 4cb6516fb22..88dc2394e94 100644 --- a/python/dolfinx/__init__.py +++ b/python/dolfinx/__init__.py @@ -11,10 +11,12 @@ try: from petsc4py import PETSc as _PETSc + default_scalar_type = _PETSc.ScalarType # type: ignore default_real_type = _PETSc.RealType # type: ignore except ImportError: import numpy as _np + default_scalar_type = _np.float64 default_real_type = _np.float64