We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07bbfc2 commit 8a09272Copy full SHA for 8a09272
1 file changed
devito/petsc/iet/callbacks.py
@@ -789,11 +789,11 @@ def _create_set_point_bc_body(self, body):
789
)
790
791
malloc_bc_points_arr = petsc_call(
792
- 'PetscMalloc1', [sobjs['numBC'], sobjs['bcPointsArr']]
+ 'PetscMalloc1', [sobjs['numBC'], Byref(sobjs['bcPointsArr']._C_symbol)]
793
794
795
malloc_bc_points = petsc_call(
796
- 'PetscMalloc1', [1, sobjs['bcPoints']]
+ 'PetscMalloc1', [1, Byref(sobjs['bcPoints']._C_symbol)]
797
798
799
dummy_expr = DummyExpr(sobjs['bcPoints'].indexed[0], sobjs['bcPointsIS'])
0 commit comments