bug in testLinkedList.cpp

linkedList.h better than std::list but NOT that much better.
Look at diffs for test/testLinkedListAux for bug:
This commit is contained in:
Marty Kraimer committed 2010-11-23 07:58:54 -05:00
1 parent 9db054cc54
commit fdfd11c755
5 files changed
+21 -21

No files matched your search

+1 -1
View File
@@ -294,7 +294,7 @@ static void testTime(FILE *auxFd) {
}
endTime.getCurrent();
double diff = TimeStamp::diff(endTime,startTime);
diff /= 1000.0;
diff *= 1000.0;
fprintf(auxFd,"diff %f milliSeconds\n",diff);
diff = diff/1000.0; // convert from milliseconds to seconds
diff = diff/ntimes; // seconds per outer loop