Thanks Vaclav, I've been seeing a valgrind warning in PlexDestroy for a long time. Mark
On Fri, Oct 13, 2017 at 10:33 AM, Matthew Knepley <knep...@gmail.com> wrote: > On Fri, Oct 13, 2017 at 10:26 AM, Vaclav Hapla <vaclav.ha...@erdw.ethz.ch> > wrote: > >> Hello >> >> In DMPlexDistribute, when it is run on 1 process and sf != NULL, the >> output *sf is undefined. This in turn leads to crash of PetscSFDestroy, >> e.g. in src/dm/impls/plex/examples/tutorials/ex5.c:45. >> >> I created the corresponding pull request a minute ago. It is my first PR >> - please, should I write there some reviewer? > > > This is correct. I will merge it. > > Thanks, > > Matt > > >> >> Vaclav Hapla > > > > > -- > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > -- Norbert Wiener > > https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/> >