--- trunk/src/io/DumpReader.cpp 2005/11/08 13:32:27 721 +++ trunk/src/io/DumpReader.cpp 2006/06/06 18:26:17 984 @@ -538,11 +538,11 @@ namespace oopse { q[2] = tokenizer.nextTokenAsDouble(); q[3] = tokenizer.nextTokenAsDouble(); - double qlen = q.length(); + RealType qlen = q.length(); if (qlen < oopse::epsilon) { //check quaternion is not equal to 0 sprintf(painCave.errMsg, - "DumpReader Error: initial quaternion error (q0^2 + q1^2 + q2^2 + q3^2 ~ 0\n"); + "DumpReader Error: initial quaternion error (q0^2 + q1^2 + q2^2 + q3^2) ~ 0\n"); painCave.isFatal = 1; simError(); @@ -565,10 +565,10 @@ namespace oopse { void DumpReader::parseCommentLine(char* line, Snapshot* s) { - double currTime; + RealType currTime; Mat3x3d hmat; - double chi; - double integralOfChiDt; + RealType chi; + RealType integralOfChiDt; Mat3x3d eta; StringTokenizer tokenizer(line);