mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-29 17:03:19 +00:00
BinaryIO fix for alternative little-endian format name (used in 96I ensemble)
This commit is contained in:
1 parent
ddb192bac7
commit
c8af498a2a
1 file changed
+1
-1
@@ -341,7 +341,7 @@ class BinaryIO {
|
|||||||
int ieee32big = (format == std::string("IEEE32BIG"));
|
int ieee32big = (format == std::string("IEEE32BIG"));
|
||||||
int ieee32 = (format == std::string("IEEE32"));
|
int ieee32 = (format == std::string("IEEE32"));
|
||||||
int ieee64big = (format == std::string("IEEE64BIG"));
|
int ieee64big = (format == std::string("IEEE64BIG"));
|
||||||
int ieee64 = (format == std::string("IEEE64"));
|
int ieee64 = (format == std::string("IEEE64") || format == std::string("IEEE64LITTLE"));
|
||||||
assert(ieee64||ieee32|ieee64big||ieee32big);
|
assert(ieee64||ieee32|ieee64big||ieee32big);
|
||||||
assert((ieee64+ieee32+ieee64big+ieee32big)==1);
|
assert((ieee64+ieee32+ieee64big+ieee32big)==1);
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in new issue
Block a user