Attached is a diff file updating src/sys/examples/tutorials/ex5.c which is an example of PetscBag use.
I've changed the order of the parameter registrations to put the Real values first, as required with quad precision. If you run the new version with quad precision, you'll see that when the bag is viewed to stdout, the Real numerical values are incorrectly displayed. Cheers Rich -------------- next part -------------- A non-text attachment was scrubbed... Name: ex5.diff Type: application/octet-stream Size: 2526 bytes Desc: not available URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110324/3f7f446d/attachment.obj>
