]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Replacing misused "==" operator with a correct assignment. CTH_V1_0_3
authorsan <san@opencascade.com>
Thu, 23 Feb 2006 12:49:35 +0000 (12:49 +0000)
committersan <san@opencascade.com>
Thu, 23 Feb 2006 12:49:35 +0000 (12:49 +0000)
src/HDFPersistCopy/HDFdataset.cc

index 789f6e1a6f4f053a7b8f6df82ceea9cee25a0347..f4e7caf5c3b7273ea88b1a37f616dbf35ea53179 100644 (file)
@@ -159,7 +159,7 @@ void HDFdataset::GetDim(hdf_size dim[])
       else
        ndim = _ndim;
       _dim = new hdf_size[ndim];
-      if ((ret == HDFdatasetGetDim(_id,_dim)) < 0)
+      if ((ret = HDFdatasetGetDim(_id,_dim)) < 0)
        throw HDFexception("Can't determine the size dimensions of the dataset ");
     }