this passes all tests on big-endian debian systems.

note that in order to make it work, some lesser-used functionality (clustering and CMIM) had
to be disabled. This could be revisited in the future.
This commit is contained in:
Greg Landrum
2012-07-27 04:22:04 +00:00
parent f5eb640766
commit c6de27e945
16 changed files with 73 additions and 27 deletions

View File

@@ -317,10 +317,15 @@ std::string SparseBitVect::toString() const {
boost::int32_t tInt = ci_BITVECT_VERSION*-1;
RDKit::streamWrite(ss,tInt);
std::cerr<<"version: "<<tInt<<std::endl;
tInt=d_size;
RDKit::streamWrite(ss,tInt);
std::cerr<<"size: "<<tInt<<std::endl;
tInt=getNumOnBits();
RDKit::streamWrite(ss,tInt);
std::cerr<<"nOn: "<<tInt<<std::endl;
int prev = -1;
unsigned int zeroes;