Skip to content

Commit

Permalink
Undo a formatting change
Browse files Browse the repository at this point in the history
  • Loading branch information
garth-wells committed Apr 15, 2024
1 parent d47acdd commit b424e7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/dolfinx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b424e7c

Please sign in to comment.