In file included from
/Users/barrysmith/Src/petsc/src/dm/impls/forest/p4est/dmp4est.c:13:
/Users/barrysmith/Src/petsc/src/dm/impls/forest/p4est/pforest.c:3775:53:
warning: incompatible pointer types passing 'double [3]' to
parameter of type 'const PetscReal *' (aka 'const float *')
[-Wincompatible-pointer-types]
ierr =
(map)(base,coarsePoint,p4estCoordDim,coordP4est,coordP4estMapped,mapCtx);CHKERRQ(ierr);
^~~~~~~~~~
/Users/barrysmith/Src/petsc/src/dm/impls/forest/p4est/pforest.c:3775:64:
warning: incompatible pointer types passing 'double [3]' to
parameter of type 'PetscReal *' (aka 'float *')
[-Wincompatible-pointer-types]
ierr =
(map)(base,coarsePoint,p4estCoordDim,coordP4est,coordP4estMapped,mapCtx);CHKERRQ(ierr);
^~~~~~~~~~~~~~~~
In file included from
/Users/barrysmith/Src/petsc/src/dm/impls/forest/p4est/dmp8est.c:19:
/Users/barrysmith/Src/petsc/src/dm/impls/forest/p4est/pforest.c:3775:53:
warning: incompatible pointer types passing 'double [3]' to
parameter of type 'const PetscReal *' (aka 'const float *')
[-Wincompatible-pointer-types]
ierr =
(map)(base,coarsePoint,p4estCoordDim,coordP4est,coordP4estMapped,mapCtx);CHKERRQ(ierr);
^~~~~~~~~~
/Users/barrysmith/Src/petsc/src/dm/impls/forest/p4est/pforest.c:3775:64:
warning: incompatible pointer types passing 'double [3]' to
parameter of type 'PetscReal *' (aka 'float *')
[-Wincompatible-pointer-types]
ierr =
(map)(base,coarsePoint,p4estCoordDim,coordP4est,coordP4estMapped,mapCtx);CHKERRQ(ierr);
^~~~~~~~~~~~~~~~
Why have any stray doubles lying around?