Skip to content

Commit 0f83b47

Browse files
committed
misc: Fix the petsc_type_to_ctype mapper
1 parent 6eaa1d7 commit 0f83b47

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

devito/petsc/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def get_petsc_type_mappings():
7979
petsc_precision = petsc_variables['PETSC_PRECISION']
8080
except KeyError:
8181
printer_mapper = {}
82+
petsc_type_to_ctype = {}
8283
else:
8384
petsc_scalar = 'PetscScalar'
8485
# TODO: Check to see whether Petsc is compiled with

0 commit comments

Comments
 (0)