[petsc-users] cannot convert ‘int*’ to ‘PetscInt*
丁老师
ztdepyahoo at 163.com
Sun Oct 16 01:53:10 CDT 2016
Dear professor:
I met the following error for Petsc 3.7.3.
I delcare LocalSize as int, but it doesn't work anymore. it works for 3.6.3.
error: cannot convert ‘int*’ to ‘PetscInt* {aka long int*}’ for argument ‘2’ to ‘PetscErrorCode VecGetLocalSize(Vec, PetscInt*)’
VecGetLocalSize (Petsc_b, &LocalSize);
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20161016/89b19795/attachment.html>
More information about the petsc-users
mailing list