PetscTryMethod and PetscUseMethod

Barry Smith bsmith at mcs.anl.gov
Sat Sep 15 21:38:51 CDT 2007


  Lisandro,

    I think it is fine to remove the use of the #. It got it there
during the evolution of those macros.

   Barry


On Sat, 15 Sep 2007, Lisandro Dalcin wrote:

> PetscTryMethod(obj,A,B,C) and PetscUseMethod(obj,A,B,C) macros are not
> consistent regarding parameter 'A', the first expand it to '#A' and de
> second do not.
> 
> Should this be fixed? Which version do you want? I'm personally
> inclined to the second (that is, no 'stingize', as looks a bit more
> explicit in code)
> 
> Regards,
> 
> 




More information about the petsc-dev mailing list