Barry Smith <[email protected]> writes:

>    Eric,
>
>       The model we have followed is that master retains the version number of 
> the latest patched release and then at the time of a release the version 
> number is increased.  For releases  PETSC_VERSION_RELEASE  is defined to be 1 
> while for master PETSC_VERSION_RELEASE  is defined to be 0. Thus if you want 
> to switch between master and release you need to also include a check on the 
> PETSC_VERSION_RELEASE value.

PETSC_VERSION_LT and related comparison macros handle non-RELEASE as
+Inf for the purpose of comparison.  I recommend using those macros.

Attachment: signature.asc
Description: PGP signature

Reply via email to