[petsc-dev] Matt, broken use of DMSetDimension() in next

Jed Brown jed at jedbrown.org
Thu Aug 21 13:42:18 CDT 2014

Barry Smith <bsmith at mcs.anl.gov> writes:
>   Ok, but it sure as hell cannot be da->dim because the da was just
>   created in the line above and has not had its dim set yet. So the
>   code is setting the da->dim value from the (not yet set) da->dim
>   value.

Yes, I should have read the context.  It needs to be dm->dim.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140821/4eef3ed5/attachment.sig>

More information about the petsc-dev mailing list