Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
trick sonar 'identical sub-expression on both side of >'
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 25 Jan 2019 07:10:00 +0000 (08:10 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 25 Jan 2019 20:19:07 +0000 (21:19 +0100)
src/surf/surf_interface.cpp

index f0bc693..a9b5a18 100644 (file)
@@ -219,7 +219,7 @@ void sg_version_check(int lib_version_major, int lib_version_minor, int lib_vers
     abort();
   }
   if (lib_version_patch != SIMGRID_VERSION_PATCH) {
-    if (SIMGRID_VERSION_PATCH >= 90 || lib_version_patch >= 90) {
+    if (SIMGRID_VERSION_PATCH > 89 || lib_version_patch > 89) {
       fprintf(
           stderr,
           "FATAL ERROR: Your program was compiled with SimGrid version %d.%d.%d, "