X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=check%2Ftime_lw_P.cpp;h=c95bbe2a7fa4839b82cc9c7b70b6370320323420;hb=5d3e2f6201df1363f2ee4a0891376b2fb8a58f1c;hp=279327be1c6ae12db7cdd5b56bec3868de385299;hpb=68fdf425abf14d016d5f95ee7b9d06a19a3c5926;p=ginac.git diff --git a/check/time_lw_P.cpp b/check/time_lw_P.cpp index 279327be..c95bbe2a 100644 --- a/check/time_lw_P.cpp +++ b/check/time_lw_P.cpp @@ -4,7 +4,7 @@ * Lewis and Michael Wester. */ /* - * GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2007 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" @@ -75,7 +75,7 @@ unsigned time_lw_P() } else { cout << " failed "; } - cout << int(1000*(time/count))*0.001 << 's' << endl; + cout << time/count << 's' << endl; return result; }