Commits

Jed Brown committed 5f63075 Merge

Merge branch 'jed/fix-version-release' into maint

* jed/fix-version-release:
version: fix PETSC_VERSION_LT() to require PETSC_VERSION_RELEASE=1

  • Participants
  • Parent commits e53ed6a, c68d258

Comments (0)

Files changed (1)

include/petscversion.h

    (PETSC_VERSION_RELEASE  == 1))
 
 #define PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR)          \
-  (PETSC_VERSION_RELEASE == 0 &&                        \
+  (PETSC_VERSION_RELEASE == 1 &&                        \
    (PETSC_VERSION_MAJOR < (MAJOR) ||                    \
     (PETSC_VERSION_MAJOR == (MAJOR) &&                  \
      (PETSC_VERSION_MINOR < (MINOR) ||                  \