> On 17 Oct 2017, at 17:35, Jed Brown <j...@jedbrown.org> wrote: > >> >> So my initial concern was that if I do: >> >> SNESSetDM(snes, dm); >> SNESSolve(snes); >> SNESDestroy(&snes); >> >> Then dm still has stale pointers to snes (in the context of the >> restrict hook). > > Thanks, this is fixable. Can someone make a test case for me?
I'll try and cook one up tomorrow. Cheers, Lawrence