]> www.ginac.de Git - ginac.git/blobdiff - check/time_lw_O.cpp
* Update a bit.
[ginac.git] / check / time_lw_O.cpp
index da5e26e93675ac7e3d065f469674818c27e042f8..5ae917a5a066de1fdcfa9c7bcac8eef862223032 100644 (file)
@@ -4,7 +4,7 @@
  *  Lewis and Michael Wester. */
 
 /*
- *  GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2005 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -18,7 +18,7 @@
  *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #include "times.h"
@@ -148,7 +148,7 @@ unsigned time_lw_O()
        } else {
                cout << " failed ";
        }
-       cout << int(1000*(time/(3*count)))*0.001 << "s (average)" << endl;
+       cout << time/(3*count) << "s (average)" << endl;
 
        cout << "timing Lewis-Wester test O2 (Resultant)" << flush;
        clog << "-------Lewis-Wester test O2 (Resultant):" << endl;
@@ -163,7 +163,7 @@ unsigned time_lw_O()
                } else {
                        cout << " failed ";
                }
-               cout << int(1000*rolex.read())*0.001 << "s (combined)" << endl;
+               cout << rolex.read() << "s (combined)" << endl;
        } else {
                cout << " disabled" << endl;
                clog << "(no output)" << endl;