From d6faa116f8be1f6b73edfb24f1cddab82b971d75 Mon Sep 17 00:00:00 2001 From: jfa Date: Thu, 2 Mar 2006 09:06:30 +0000 Subject: [PATCH] Replacing misused '==' operator with a correct assignment. --- src/HDFPersist/HDFdataset.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HDFPersist/HDFdataset.cc b/src/HDFPersist/HDFdataset.cc index 789f6e1a6..f4e7caf5c 100644 --- a/src/HDFPersist/HDFdataset.cc +++ b/src/HDFPersist/HDFdataset.cc @@ -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 "); } -- 2.39.2