From: malaterre Date: Sun, 23 Oct 2005 19:52:37 +0000 (+0000) Subject: ENH: Note for myself: Never work on gdcm without first a coffee. double is 8bits... X-Git-Tag: OpenJPEG.Version1.2~219 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=9dbffd306a2b7981cf033ab8402c774f8f970475;p=gdcm.git ENH: Note for myself: Never work on gdcm without first a coffee. double is 8bits anyway --- diff --git a/Testing/TestDataEntry.cxx b/Testing/TestDataEntry.cxx index ebd4892f..b0611b93 100644 --- a/Testing/TestDataEntry.cxx +++ b/Testing/TestDataEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestDataEntry.cxx,v $ Language: C++ - Date: $Date: 2005/10/23 19:46:17 $ - Version: $Revision: 1.6 $ + Date: $Date: 2005/10/23 19:52:37 $ + Version: $Revision: 1.7 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -27,12 +27,7 @@ const char fdata[] = "1.1\\2.2\\3.3\\4.4\\5.5"; const int16_t svalue[]={1,2,3,4,5}; const int32_t lvalue[]={1,2,3,4,5}; const float fvalue[]={1.1f,2.2f,3.3f,4.4f,5.5f}; -// Temporary hack, assume that long and double are correlated -#if GDCM_SIZEOF_LONG == 4 const double dvalue[]={1.1,2.2,3.3,4.4,5.5}; -#else -const float dvalue[]={1.1,2.2,3.3,4.4,5.5}; -#endif const unsigned long nbvalue = 5; const float GDCM_EPS = 1e-6;