@@ -59,7 +59,7 @@ macro wrapper(fn,rt,argts,args,url)
5959 push! (PRELOADS,($ hn,$ fn))
6060 @doc $ str
6161 @inline function $ (fn. value)($ (args. args... ))
62- @boundscheck @assert $ (hn)[] != C_NULL " Missing symbol. Re-configure and compile PETSc. "
62+ @boundscheck @assert $ (hn)[] != C_NULL " Missing symbol. Open a fresh julia session "
6363 ccall ($ (hn)[],$ rt,$ argts,$ (args. args... ))
6464 end
6565 end
@@ -280,6 +280,7 @@ Base.unsafe_convert(::Type{Ptr{Cvoid}},v::Vec) = v.ptr
280280@wrapper (:VecNorm ,PetscErrorCode,(Vec,NormType,Ptr{PetscReal}),(x,typ,val)," https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecNorm.html" )
281281@wrapper (:VecGhostGetLocalForm ,PetscErrorCode,(Vec,Ptr{Vec}),(g,l)," https://petsc.org/release/docs/manualpages/Vec/VecGhostGetLocalForm.html" )
282282@wrapper (:VecGhostRestoreLocalForm ,PetscErrorCode,(Vec,Ptr{Vec}),(g,l)," https://petsc.org/release/docs/manualpages/Vec/VecGhostRestoreLocalForm.html" )
283+ @wrapper (:VecZeroEntries ,PetscErrorCode,(Vec,),(v,)," https://petsc.org/release/docs/manualpages/Vec/VecZeroEntries.html" )
283284
284285# Matrix related functions
285286
0 commit comments