X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Ftime_vandermonde.cpp;h=d4f949219ee803c399ee67a8a87455a5b9d1a7c7;hp=33ffd65f3b3ef6962c98de156f5610cef26b552f;hb=8b27215dace7b30dcd5407a387e604d8f1f6fce5;hpb=559c3bfd89b822b16708b23af1b0d9af17ededfe diff --git a/check/time_vandermonde.cpp b/check/time_vandermonde.cpp index 33ffd65f..d4f94921 100644 --- a/check/time_vandermonde.cpp +++ b/check/time_vandermonde.cpp @@ -7,7 +7,7 @@ */ /* - * GiNaC Copyright (C) 1999-2001 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 @@ -21,7 +21,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" @@ -61,7 +61,7 @@ static unsigned vandermonde_det(unsigned size) return result; } -unsigned time_vandermonde(void) +unsigned time_vandermonde() { unsigned result = 0; @@ -72,10 +72,10 @@ unsigned time_vandermonde(void) vector times; timer swatch; - sizes.push_back(6); sizes.push_back(8); sizes.push_back(10); sizes.push_back(12); + sizes.push_back(14); for (vector::iterator i=sizes.begin(); i!=sizes.end(); ++i) { int count = 1; @@ -102,7 +102,7 @@ unsigned time_vandermonde(void) cout << '\t' << *i << 'x' << *i; cout << endl << " time/s:"; for (vector::iterator i=times.begin(); i!=times.end(); ++i) - cout << '\t' << int(1000*(*i))*0.001; + cout << '\t' << *i; cout << endl; return result;